LHS of callable reference can't be a type parameter

This commit is contained in:
Alexander Udalov
2013-04-18 19:56:51 +04:00
parent d40906a690
commit fee7846c7e
5 changed files with 20 additions and 2 deletions
@@ -811,6 +811,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/callableReference/innerConstructorFromTopLevel.kt");
}
@TestMetadata("lhsNotAClass.kt")
public void testLhsNotAClass() throws Exception {
doTest("compiler/testData/diagnostics/tests/callableReference/lhsNotAClass.kt");
}
@TestMetadata("localConstructor.kt")
public void testLocalConstructor() throws Exception {
doTest("compiler/testData/diagnostics/tests/callableReference/localConstructor.kt");