We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3dda68 commit 5f1e08fCopy full SHA for 5f1e08f
nullaway/src/test/java/com/uber/nullaway/jspecify/GenericMethodTests.java
@@ -184,6 +184,7 @@ public void genericInferenceOnAssignments() {
184
" // BUG: Diagnostic contains: passing @Nullable parameter 'null' where @NonNull is required",
185
" Foo<Object> f2 = Foo.makeNull(null);",
186
" // ILLEGAL: U does not have a @Nullable upper bound",
187
+ " // BUG: Diagnostic contains: passing @Nullable parameter 'null' where @NonNull is required",
188
" Foo<@Nullable Object> f3 = Foo.makeNonNull(null);",
189
190
" Foo<Object> f4 = Foo.makeNonNull(null);",
0 commit comments