-
Notifications
You must be signed in to change notification settings - Fork 355
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
Compilation failure in checker-framework code since update to 3.43.0 #6664
Comments
Thanks for getting in touch, and I'm sorry you are having trouble. First, could you please try 3.44.0? We fixed quite a number of obscure crashes, and it is possible that 3.44.0 does not crash for you. If 3.44.0 still crashes for you, then we would appreciate a minimal example that crashes, so that we can fix it. |
The error occurs with 3.44.0 as well, but the message is less specific:
I will try to create a minimal example. |
I think I have a small example that reproduces the error (Java Code and Repository). I am using derive4j in this example and I am not sure whether this is a problem with the interaction between derive4j and checker-framework. Currently, I am unsure how to reproduce the error without derive4j. |
FWIW I'm having similar errors across my projects as the one
I think I saw a different error in another project that I will add later. It seems the culprit is the new type argument inference and I cannot figure out a way to suppress so we are stuck on 3.42.0. |
Thanks! I've reduced this test case further:
|
While trying to update from 3.42.0 to 3.43 my build breaks with a strage compilation error "in" the checker-framework code (link to Github Action build).
I cloudn't really figure out where the method
fromExpression
in the classAnnotatedTypeMirror
is. However, at lease the classAnnotatedTypeMirror
is from the source of the checkerframework.I can try to create a minimal example that reproduces that error, if needed.
The text was updated successfully, but these errors were encountered: