[FIR] Analyze bodies of non delegated property accessors without expected type

^KT-53349 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-09-20 11:28:34 +03:00
parent c5fd248e69
commit a6c7d4c0c6
7 changed files with 49 additions and 1 deletions
@@ -3437,6 +3437,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/resolve/properties"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
}
@Test
@TestMetadata("getterWithEarlyReturn.kt")
public void testGetterWithEarlyReturn() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/properties/getterWithEarlyReturn.kt");
}
@Test
@TestMetadata("javaAccessorConversion.kt")
public void testJavaAccessorConversion() throws Exception {