Don't check suitability of a builder inference call if unrestricted builder inference is enabled

^KT-42139 Fixed
This commit is contained in:
Victor Petukhov
2021-06-03 13:15:41 +03:00
parent f8fbbc01b6
commit 19c07e048a
10 changed files with 81 additions and 13 deletions
@@ -14606,6 +14606,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/inference/builderInference/kt41164.kt");
}
@TestMetadata("kt42139.kt")
public void testKt42139() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/kt42139.kt");
}
@TestMetadata("kt47052.kt")
public void testKt47052() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/kt47052.kt");