Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Sep 1, 2024
1 parent 71301a3 commit bc46f2e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public void testNullableVarargs() {
"public class Utilities {",
" public static String takesNullableVarargs(Object o, @Nullable Object... others) {",
" String s = o.toString() + \" \" + others.toString();",
" for (Object other : others) {",
" // no error here; requires a type-use annotation on the elements",
" s += other.toString();",
" }",
" return s;",
" }",
"}")
Expand Down

0 comments on commit bc46f2e

Please sign in to comment.