We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@compileTimeOnly
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
As discussed in #6308 and #4863, when there is need for @compileTimeOnly in Scala2:
@compileTimeOnly("some message") val res = ??? res
The same semantics can be achieved by the following code in Dotty:
scala.compiletime.error("some message")
The text was updated successfully, but these errors were encountered:
cd2ddcc
Merge pull request #6416 from dotty-staging/fix-#6312
84c90bf
Fix #6312: Add migration warning for @compileTimeOnly
nicolasstucki
No branches or pull requests
As discussed in #6308 and #4863, when there is need for
@compileTimeOnly
in Scala2:The same semantics can be achieved by the following code in Dotty:
scala.compiletime.error("some message")
The text was updated successfully, but these errors were encountered: