Skip to content

Commit

Permalink
add a todo
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Oct 3, 2023
1 parent b8c9fd0 commit cc0297a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ public void recordDeconstructionPatternSwitchCase() {
" record Rec(Object first, @Nullable Object second) { }",
" int recordDeconstructionSwitchCase(Object obj) {",
" return switch (obj) {",
" // TODO: NullAway should report a warning here!",
" case Rec(Object f, @Nullable Object s) -> s.toString().length();",
" default -> 0;",
" };",
Expand Down

0 comments on commit cc0297a

Please sign in to comment.