dynamic is not a keyword on the left-hand side of callable references

This commit is contained in:
Andrey Breslav
2014-11-21 16:35:24 +03:00
parent 1f66c64ee0
commit e09b624f05
6 changed files with 40 additions and 0 deletions
@@ -3728,6 +3728,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("callableReferences.kt")
public void testCallableReferences() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/dynamicTypes/callableReferences.kt");
doTest(fileName);
}
@TestMetadata("dynamicCalls.kt")
public void testDynamicCalls() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/dynamicTypes/dynamicCalls.kt");