Don't throw exception on error types in light classes mode

#KT-26829 Fixed
 #KT-26827 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2018-09-17 12:56:54 +03:00
parent fa9a3868b7
commit ea69d26bac
4 changed files with 34 additions and 9 deletions
@@ -6178,6 +6178,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/unusedSymbol/companionViaImport.kt");
}
@TestMetadata("dataInlineClassDeclaration.kt")
public void testDataInlineClassDeclaration() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/dataInlineClassDeclaration.kt");
}
@TestMetadata("inAnonymous.kt")
public void testInAnonymous() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/inAnonymous.kt");
@@ -6198,6 +6203,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/unusedSymbol/internal.kt");
}
@TestMetadata("propertyOfInlineClassType.kt")
public void testPropertyOfInlineClassType() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/propertyOfInlineClassType.kt");
}
@TestMetadata("withJvmNameUsedFromKotlin.kt")
public void testWithJvmNameUsedFromKotlin() throws Exception {
runTest("idea/testData/inspectionsLocal/unusedSymbol/withJvmNameUsedFromKotlin.kt");