Complete old inference's callable references properly, by updating descriptor, resolved call and recorded expression's type

^KT-45721 Fixed
^KT-44994 Fixed
This commit is contained in:
Victor Petukhov
2021-04-09 13:14:52 +03:00
parent d804e73c22
commit e8275d2527
14 changed files with 186 additions and 35 deletions
@@ -12406,6 +12406,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/inference/builderInference/callableReferenceAndCoercionToUnit.kt");
}
@TestMetadata("callableReferencesProperCompletion.kt")
public void testCallableReferencesProperCompletion() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/callableReferencesProperCompletion.kt");
}
@TestMetadata("kt41164.kt")
public void testKt41164() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/kt41164.kt");
@@ -11827,6 +11827,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inference/builderInference/callableReferenceAndCoercionToUnit.kt");
}
@TestMetadata("callableReferencesProperCompletion.kt")
public void testCallableReferencesProperCompletion() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/callableReferencesProperCompletion.kt");
}
@TestMetadata("kt41164.kt")
public void testKt41164() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/kt41164.kt");
@@ -11892,6 +11892,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inference/builderInference/callableReferenceAndCoercionToUnit.kt");
}
@TestMetadata("callableReferencesProperCompletion.kt")
public void testCallableReferencesProperCompletion() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/callableReferencesProperCompletion.kt");
}
@TestMetadata("kt41164.kt")
public void testKt41164() throws Exception {
runTest("compiler/testData/codegen/box/inference/builderInference/kt41164.kt");