FIR: Add more tests for delegate inference
This commit is contained in:
committed by
teamcity
parent
bb411cbba7
commit
2e69f7732c
+12
@@ -1207,6 +1207,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/delegates/delegateInference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegateWithArgInference.kt")
|
||||
public void testDelegateWithArgInference() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/delegates/delegateWithArgInference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegateWithLambda.kt")
|
||||
public void testDelegateWithLambda() throws Exception {
|
||||
@@ -1236,6 +1242,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
public void testProvideDelegate() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/delegates/provideDelegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverInference.kt")
|
||||
public void testReceiverInference() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/delegates/receiverInference.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user