Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
-Ywarn-unused: warning: local val in method reifyAnnotationInfo is never used #8915
Because the name of the val is sadly not mentioned, I can't really figure out whether it's caused by some synthetic val generated by the compiler, or by a bug which misses the usage of "arg" inside the try (if the warning is about "arg").
@som-snytt said (edited on Sep 15, 2016 3:48:52 PM UTC):
val reifiedArgs = ann.args.map(f) //should be ann.args.foreach(f)
The PR for #8040 adds names to the messages and amends this example.