Fix receiver inconsistency when builder inference restriction disabled

In 154e53c701 update of
extensionReceiverArgument in resolvedCall was accidentally moved into
language feature dependant block
This commit is contained in:
Simon Ogorodnik
2022-09-03 13:52:12 +02:00
committed by Space
parent 01507281a2
commit 05d486d55a
6 changed files with 52 additions and 13 deletions
@@ -14453,6 +14453,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/builderInference/multiLambdaRestrictionDisabled.kt");
}
@Test
@TestMetadata("noBuilderInferenceRestrictionReceiverInconsistency.kt")
public void testNoBuilderInferenceRestrictionReceiverInconsistency() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/noBuilderInferenceRestrictionReceiverInconsistency.kt");
}
@Test
@TestMetadata("propertySubstitution.kt")
public void testPropertySubstitution() throws Exception {