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
In Scala 2.13 this code
@enableIf(false) val _ = { println("enableIf(false) val _") } @enableIf(false) val __ = { println("enableIf(false) val __") } @enableIf(false) val foo = { println("enableIf(false) val foo") }
outputs enableIf(false) val _ because the annotation seems not to work for val _ as of Scala 2.13.
enableIf(false) val _
val _
Tested with sbt 1.1 on java 8 hotspot and graalvm.
The text was updated successfully, but these errors were encountered:
In Scala 2.13, val _ is a pattern matching instead of a variable. I don't know if macro annotation is able to support it.
Sorry, something went wrong.
No branches or pull requests
In Scala 2.13 this code
outputs
enableIf(false) val _
because the annotation seems not to work forval _
as of Scala 2.13.Tested with sbt 1.1 on java 8 hotspot and graalvm.
The text was updated successfully, but these errors were encountered: