blob: cb713b1c8dd660678779e9d1390dbdbe00f6c7b7 [file] [log] [blame]
// Test case for issue 689
// https://github.com/typetools/checker-framework/issues/689
public class Issue689 {
public int initializerFodder() {
return 3;
}
public Runnable trigger() {
return new Runnable() {
// Issue 689 triggers when examining a method invocation inside a field initializer of
// an anonymous inner class
public final int val = initializerFodder();
public void run() {
// do nothing
}
};
}
}