-
Notifications
You must be signed in to change notification settings - Fork 101
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
Collection<...> generates invalid code #227
Comments
Thanks for the spot! As a workaround you can use List instead of Collection until we get this fixed, if binary backwards compatibility is not an issue for you. |
Note that this bug also affects wildcard types like |
@Joao-Neves Could you give v1.12.1-rc1 a try? |
@ChrisAlice Sure thing, I'll test it as soon as I get to the office tomorrow morning. |
@ChrisAlice Hello, it's working fine on my end. Thank you for the quick fix! |
Happy holidays! |
This should be fixed in v1.12.1 proper now. |
From version 1.10.6 onwards every time I write something like:
I get the following compilation error:
By inspecting the generated code we can see that this occurs when you attempt to do this
myClass = value.getMyClass();
but the fieldmyClass
is defined asList<MyClass>
instead ofCollection<MyClass>
.The text was updated successfully, but these errors were encountered: