blob: f7ea9b8adca8dc3608b8e3f14bda9e3b88db6478 [file] [log] [blame]
// 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 <V> List<V> wrap(V value) {
return null;
}
static <T> List<T> empty() {
return null;
}
}
public class InferenceSimpler {
List<List<String>> foo() {
return ISOuter.wrap(ISOuter.empty());
}
}