[FIR] Fix false-positive INAPPLICABLE_LATEINIT_MODIFIER for property with unresolved type

^KT-51624 Fixed
This commit is contained in:
Ivan Kochurkin
2022-03-17 14:19:59 +03:00
committed by teamcity
parent e2766e402c
commit 4617615fd9
7 changed files with 34 additions and 5 deletions
@@ -19406,6 +19406,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/lateinit/modifierApplicability_lv12.kt");
}
@Test
@TestMetadata("NoInapplicableLateinitModifierForPropertyWithUnnresolvedType.kt")
public void testNoInapplicableLateinitModifierForPropertyWithUnnresolvedType() throws Exception {
runTest("compiler/testData/diagnostics/tests/lateinit/NoInapplicableLateinitModifierForPropertyWithUnnresolvedType.kt");
}
@Test
@TestMetadata("setter.kt")
public void testSetter() throws Exception {