You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the compilation fails with the following error message:
[...]/CollectionContracts.java:4:59
java: [contracts.postcondition] postcondition of requireNotEmpty is not satisfied.
found : no information about collection
required: collection is @NonNull
Hello,
I have come across an issue while using @EnsuresNonNull on method parameters with certain generic types.
If I have the following method
the compilation fails with the following error message:
If I change the signature to
everything work as I would expect.
I am using checker-framework version 3.42.0 with maven-compiler-plugin 3.12.1
The text was updated successfully, but these errors were encountered: