[FIR] Create this reference for getValue calls in delegates with proper type

^KT-57288 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-03-17 14:01:31 +02:00
committed by Space Team
parent 823c60a7dc
commit 16872f7a74
11 changed files with 85 additions and 19 deletions
@@ -1621,6 +1621,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/resolve/delegates"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
}
@Test
@TestMetadata("callOnThisInDelegateExpression.kt")
public void testCallOnThisInDelegateExpression() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/delegates/callOnThisInDelegateExpression.kt");
}
@Test
@TestMetadata("delegateInference.kt")
public void testDelegateInference() throws Exception {