Skip to content

Commit

Permalink
Suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Dec 6, 2024
1 parent f286db7 commit 3dbc7fa
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ void identification() {
"",
" // BUG: Diagnostic contains:",
" Stream.of(10).map(i -> (Integer) i);",
" }",
"",
" class B<T> {",
" void m() {",
" Stream.of(11).map(i -> (T) i);",
" }",
" }",
" private <T> void m2() {",
" Stream.of(11).map(i -> (T) i);",
" }",
"}")
.doTest();
Expand Down

0 comments on commit 3dbc7fa

Please sign in to comment.