-
Notifications
You must be signed in to change notification settings - Fork 61
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
Mirahc cannot deal with type parameters which refer to type parameters #433
Comments
Further analysis reveals that the NullPointerException is triggered by trying to read 00this signature:
The situation where the failure occurs is |
Apparently, the Java 1.8 compiler allows producing this signature
(e.g. using Java source code public class Someclass<U extends T,T> {
} ). This means that type variables are allowed to depend on type variables which are defined later. |
Oh, now that's lovely. On Fri, Mar 4, 2016 at 8:11 AM Felix von Ferey notifications@github.com
|
Fun. I guess that makes sense. |
Consider this Java code
to be called using this Mirah code
(taken from here and here).
Then the compiler may fail (at least in this version) with a NullPointerException:
The text was updated successfully, but these errors were encountered: