Use independent context to type-check LHS of '::'

#KT-13110 Fixed
This commit is contained in:
Alexander Udalov
2016-09-14 11:37:20 +03:00
parent 84aa82e73c
commit 22f8e7db3b
5 changed files with 28 additions and 10 deletions
@@ -2961,6 +2961,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("integerValueType.kt")
public void testIntegerValueType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/classLiteral/integerValueType.kt");
doTest(fileName);
}
@TestMetadata("nonClassesOnLHS.kt")
public void testNonClassesOnLHS() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/classLiteral/nonClassesOnLHS.kt");