We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.0.0-RC1
inline def failme() = compiletime.error("fail") @main def run() = { assert(!compiletime.testing.typeChecks("failme()")) }
The assertion fails at runtime, since typeChecks returns true.
typeChecks
true
typeChecks should return false
false
Under M3, the above code works as expected.
The text was updated successfully, but these errors were encountered:
Workaround scala/scala3#11630
f6773da
842f3ce
a80b6c6
742ea27
odersky
nicolasstucki
Successfully merging a pull request may close this issue.
Compiler version
3.0.0-RC1
Minimized code
Output
The assertion fails at runtime, since
typeChecks
returnstrue
.Expectation
typeChecks
should returnfalse
Note
Under M3, the above code works as expected.
The text was updated successfully, but these errors were encountered: