Skip to content

Commit

Permalink
add a dereference test
Browse files Browse the repository at this point in the history
  • Loading branch information
nimakarimipour committed Dec 13, 2023
1 parent 2ffb5d6 commit 0f73d50
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ public void libraryModelsAndOverridingFieldNullability() {
" this.nonnullField = uwm.nullableFieldUnannotated1;",
" }",
" }",
" String dereferenceTest() {",
" // BUG: Diagnostic contains: dereferenced expression uwm.nullableFieldUnannotated1 is @Nullable",
" return uwm.nullableFieldUnannotated1.toString();",
" }",
"}")
.doTest();
}
Expand Down

0 comments on commit 0f73d50

Please sign in to comment.