You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: base-test/org.eclipse.jdt.groovy.core.tests.compiler/src/org/eclipse/jdt/groovy/core/tests/xform/TypeCheckedTests.java
+25
Original file line number
Diff line number
Diff line change
@@ -2310,4 +2310,29 @@ public void testTypeChecked10052() {
2310
2310
2311
2311
runConformTest(sources, "xy");
2312
2312
}
2313
+
2314
+
@Test
2315
+
publicvoidtestTypeChecked10053() {
2316
+
if (Float.parseFloat(System.getProperty("java.specification.version")) > 8)
if (isClassClassNodeWrappingConcreteType(type)) type = type.getGenericsTypes()[0].getType();
2871
+
addStaticTypeError("Cannot find matching method " + type.getText() + "#" + nameText + ". Please check if the declared type is correct and if the method exists.", nameExpr);
2875
2872
}
2876
2873
}
2877
2874
}
@@ -6010,7 +6007,7 @@ private static void extractGenericsConnectionsForSuperClassAndInterfaces(final M
0 commit comments