Skip to content

Fix source-dependencies/macro-expansion-dependencies-2 #10488

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

Conversation

nicolasstucki
Copy link
Contributor

In 80ed86a we removed some explicit parameter names which made incremental compilation behave differently than what the original test expected.

At some point, the macro implementation failed to compile which registered as a success for -> compile. Now we test that the macros compile before testing the error that they emit.

This is a follow up of #10467.

[test_sbt]

In 80ed86a we removed some explicit parameter names which made incremental compilation behave diferently than what the original test expected.

At some point, the macro implementation failed to compile which regiseted as a success for `-> compile`. Now we test that the macros compile before testing the error that they emit.
@nicolasstucki nicolasstucki self-assigned this Nov 25, 2020
@nicolasstucki nicolasstucki marked this pull request as ready for review November 25, 2020 14:19
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM


$ copy-file changes/MacroRuntimeRuntimeError.scala MacroRuntime.scala
> clean
> compile
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems to simply repeat the same steps as in the first section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The first checks that MacroRuntimeCompileError compiles and the second checks that MacroRuntimeRuntimeError compiles. Notice the RuntimeCompile/RuntimeRuntime in the file names.

@nicolasstucki nicolasstucki merged commit ebee228 into scala:master Nov 25, 2020
@nicolasstucki nicolasstucki deleted the fix-macro-expansion-dependencies-2 branch November 25, 2020 20:45
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