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
classfile annot arg, confusing error message when implicitly converted argument. says "need constant, found X" where X is a constant
object conv { implicit def i2s(i: Int): String = "" } import conv._ class annot(value: String) extends annotation.ClassfileAnnotation @annot(101) class C
gives
t5892.scala:6: error: annotation argument needs to be a constant; found: 101 @annot(101) class C ^
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6083?orig=1 Reporter: @lrytz
Sorry, something went wrong.
@paulp said: 76bb23df5e2 in master, will look at 2.10.x
@paulp said: Looks like 2.11 has the exclusive.
paulp
No branches or pull requests
classfile annot arg, confusing error message when implicitly converted argument. says "need constant, found X" where X is a constant
gives
The text was updated successfully, but these errors were encountered: