mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata for IDEA-150754
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import java.io.Serializable;
|
||||
abstract class Issue4 {
|
||||
|
||||
public void merge(Descriptor<?> descriptor) {
|
||||
put((Descriptor<Serializable>) descriptor, get(descriptor));
|
||||
}
|
||||
|
||||
public abstract <T extends Serializable> void put(Descriptor<T> key, T value);
|
||||
public abstract <T extends Serializable> T get(Descriptor<T> key);
|
||||
}
|
||||
|
||||
class Descriptor<T extends Serializable> {}
|
||||
+4
@@ -65,6 +65,10 @@ public class LambdaRedundantCastTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testTopLevelResolutionFailures() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(BASE_PATH + "/" + getTestName(false) + ".java", true, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user