Skip to content

Commit 32e26b5

Browse files
committed
ignore excess warning on crash test
1 parent 6b2a991 commit 32e26b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

checker/tests/ainfer-resourceleak/non-annotated/CrashForTempVar.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Demonstrates an issue in the Checker Framework with handling the nearest enclosing element for
33
* temporary variable declarations, leading to a crash during analysis.
44
*/
5+
@SuppressWarnings("all") // only check for crashes
56
public abstract class CrashForTempVar<T extends Number> {
67

78
private final CrashForTempVar<T> _base;

0 commit comments

Comments
 (0)