// Test case for Issue 979: // https://github.com/typetools/checker-framework/issues/979 import java.util.List; @SuppressWarnings("nullness") // don't bother with implementations class ISOuter { static List wrap(V value) { return null; } static List empty() { return null; } } class InferenceSimpler { List> foo() { return ISOuter.wrap(ISOuter.empty()); } }