Skip to content

Commit

Permalink
Test case for issue typetools#5245
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored and wmdietl committed Sep 2, 2022
1 parent 4b32efc commit 79e038e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions checker/tests/nullness/Issue5245.java
@@ -0,0 +1,11 @@
// Test case for https://github.com/typetools/checker-framework/issues/5245

// @skip-test until the bug is fixed

import java.util.List;

class CFRepro<E> {
final CFRepro<List<String>> repro = new CFRepro<>(List.of());

<V extends E> CFRepro(V unknownObj) {}
}

0 comments on commit 79e038e

Please sign in to comment.