-
Notifications
You must be signed in to change notification settings - Fork 1.1k
crash with "java.lang.IllegalArgumentException: requirement failed" #1647
New issue
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
Comments
Report confirmed, thanks @helloqirun ! |
This has to do with the fact that the annotation argument is typed with the enclosing class as owner, whereas the owner should be the localDummy of the template. Does not look so easy to fix though. |
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 10, 2016
Need to evaluate annotation arguments in an expression context, since classes defined in asuch arguments should not be entered into enclosing class. Fixes scala#1647
Merged
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 24, 2016
Need to evaluate annotation arguments in an expression context, since classes defined in asuch arguments should not be entered into enclosing class. Fixes scala#1647
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Dec 1, 2016
Need to evaluate annotation arguments in an expression context, since classes defined in asuch arguments should not be entered into enclosing class. Fixes scala#1647
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ cat abc.scala
$ dotc abc.scala
The text was updated successfully, but these errors were encountered: