Skip to content

Move files after -sourcepath fix, fix sbt-dotty retrieval of dotty #7806

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 7 commits into from
Jan 8, 2020

Conversation

smarter
Copy link
Member

@smarter smarter commented Dec 19, 2019

No description provided.

@nicolasstucki
Copy link
Contributor

There are some tests failing

@nicolasstucki
Copy link
Contributor

I noticed a few instances of x.toExpr that should become Expr(x) in the community build

Previously it was missing some source directories (in particular,
src-bootstrapped and src-non-bootstrapped).
Some of them had been sitting here for a long time to work around issues
with -sourcepath which should all be fixed now.

Also remove non-bootstrapped toExpr which had been deprecated for a while.
In the dotty build, we rely on sbt-dotty to get the reference compiler
and its dependencies. But when using a locally-published dotty as the
reference compiler I ran into a situation where sbt-dotty failed to get
some of the artifacts. It seems that this happens because it confuses
the locally-published projects with the projects in the current build.
Fixed by tweaking the way sbt-dotty retrieves dotty to make sure it
never considers projects from the current build.
@smarter
Copy link
Member Author

smarter commented Jan 7, 2020

Ready for review.

@smarter smarter merged commit 5dc232a into scala:master Jan 8, 2020
@smarter smarter deleted the move-files-4 branch January 8, 2020 15:06
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