// Test case for Issue 1867 // https://github.com/typetools/checker-framework/issues/1867 import java.util.List; public abstract class Issue1867 { interface AInterface {} interface BInterface { List g(); } abstract List> h(); void f() { for (BInterface x : h()) { for (AInterface y : x.g()) {} } } }