Correct diagnostics and quick-fix for T::class with non-reified type parameter #KT-9590 fixed

This commit is contained in:
Simon Ogorodnik
2016-09-09 04:58:15 +03:00
committed by Mikhail Glukhikh
parent 998399bcd8
commit 2b63bcaa19
15 changed files with 152 additions and 7 deletions
@@ -8339,6 +8339,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("ClassDereference.kt")
public void testClassDereference() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/generics/tpAsReified/ClassDereference.kt");
doTest(fileName);
}
@TestMetadata("Conventions.kt")
public void testConventions() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/generics/tpAsReified/Conventions.kt");