Skip to content

Fix incremental compilation dependency tracking #2311

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

Merged
merged 1 commit into from
Apr 26, 2017

Conversation

smarter
Copy link
Member

@smarter smarter commented Apr 26, 2017

Since #2191, dotty.tools.dotc.io.PlainFile is no longer an alias
for scala.reflect.io.PlainFile but its own class. However, the
backend still uses PlainFile from scala.reflect. This mess should soon
be fixed by getting rid of scala-reflect (#2271). Meanwhile, this commit
fixes ExtractDependencies to pattern match on the correct class, and
thus avoid missing dependencies.

@smarter smarter requested a review from felixmulder April 26, 2017 14:27
Since scala#2191, `dotty.tools.dotc.io.PlainFile` is no longer an alias
for  `scala.reflect.io.PlainFile` but its own class. However, the
backend still uses PlainFile from scala.reflect. This mess should soon
be fixed by getting rid of scala-reflect (scala#2271). Meanwhile, this commit
fixes ExtractDependencies to pattern match on the correct class, and
thus avoid missing dependencies.
@smarter smarter merged commit c9441e5 into scala:master Apr 26, 2017
@allanrenucci allanrenucci deleted the fix/inc-deps branch December 14, 2017 19:22
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