Skip to content

Fix scripted empty-package test #2550

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
May 27, 2017
Merged

Conversation

smarter
Copy link
Member

@smarter smarter commented May 27, 2017

This test started failing after we started emitting .tasty files by
default in 1293e2f, because sbt will
not by default delete these .tasty files when the corresponding
.class file is deleted, which means that the directories containing
these files are not deleted either. This is problematic because dotty
creates package symbols based on the name of directories on the
classpath, even if the directories contain no classfile. Thankfully, I
already fixed this issue in sbt-dotty yesterday in
452bc5e, so all we need to do is make
the scripted tests use the sbt-dotty plugin. This commit does this, and
also move these tests to the sbt-dotty project since they depend on it now.

@smarter smarter requested a review from felixmulder May 27, 2017 19:59
This test started failing after we started emitting .tasty files by
default in 1293e2f, because sbt will
not by default delete these .tasty files when the corresponding
.class file is deleted, which means that the directories containing
these files are not deleted either. This is problematic because dotty
creates package symbols based on the name of directories on the
classpath, even if the directories contain no classfile. Thankfully, I
already fixed this issue in sbt-dotty yesterday in
452bc5e, so all we need to do is make
the scripted tests use the sbt-dotty plugin. This commit does this, and
also move these tests to the sbt-dotty project since they depend on it now.
@smarter
Copy link
Member Author

smarter commented May 27, 2017

Merging now so that the nightly tests start working again.

@smarter smarter merged commit 8b0aca2 into scala:master May 27, 2017
@felixmulder
Copy link
Contributor

Great job! Thanks for doing this on a weekend!

@allanrenucci allanrenucci deleted the fix-nightly branch December 14, 2017 19:20
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