Skip to content

Refactor Diagnostic #1100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Feb 17, 2016

Break it out from Reporter and eliminate all dependencies
to Context. This is done so that Diagnostics can be part
of a public and minimal compiler API.

Review by @smarter

Break it out from Reporter and eliminate all dependencies
to Context. This is done so that Diagnostics can be part
of a public and minimal compiler API.
@@ -12,44 +12,9 @@ import config.Printers
import java.lang.System.currentTimeMillis
import typer.ErrorReporting.DiagnosticString
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the weird test errors are because DiagnosticString does not exist anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good analysis. Can you take it over and integrate the PR request directly
into your work?

On Wed, Feb 17, 2016 at 6:53 PM, Guillaume Martres <[email protected]

wrote:

In src/dotty/tools/dotc/reporting/Reporter.scala
#1100 (comment):

@@ -12,44 +12,9 @@ import config.Printers
import java.lang.System.currentTimeMillis
import typer.ErrorReporting.DiagnosticString

I think the weird test errors are because DiagnosticString does not exist
anymore.


Reply to this email directly or view it on GitHub
https://github.com/lampepfl/dotty/pull/1100/files#r53202952.

Martin Odersky
EPFL

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

@smarter
Copy link
Member

smarter commented Feb 17, 2016

Closing, will be integrated in my PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants