FIR2IR: correct IR origin for substitution overrides

#KT-44054 Fixed
This commit is contained in:
Jinseong Jeon
2020-12-23 00:47:54 -08:00
committed by Mikhail Glukhikh
parent 34dbbdce07
commit aaa3f2e2c1
10 changed files with 69 additions and 1 deletions
@@ -15924,6 +15924,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/objects/simpleObject.kt");
}
@TestMetadata("substitutionFunctionFromSuper.kt")
public void testSubstitutionFunctionFromSuper() throws Exception {
runTest("compiler/testData/codegen/box/objects/substitutionFunctionFromSuper.kt");
}
@TestMetadata("thisInConstructor.kt")
public void testThisInConstructor() throws Exception {
runTest("compiler/testData/codegen/box/objects/thisInConstructor.kt");
@@ -15924,6 +15924,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/objects/simpleObject.kt");
}
@TestMetadata("substitutionFunctionFromSuper.kt")
public void testSubstitutionFunctionFromSuper() throws Exception {
runTest("compiler/testData/codegen/box/objects/substitutionFunctionFromSuper.kt");
}
@TestMetadata("thisInConstructor.kt")
public void testThisInConstructor() throws Exception {
runTest("compiler/testData/codegen/box/objects/thisInConstructor.kt");
@@ -15989,6 +15989,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/objects/simpleObject.kt");
}
@TestMetadata("substitutionFunctionFromSuper.kt")
public void testSubstitutionFunctionFromSuper() throws Exception {
runTest("compiler/testData/codegen/box/objects/substitutionFunctionFromSuper.kt");
}
@TestMetadata("thisInConstructor.kt")
public void testThisInConstructor() throws Exception {
runTest("compiler/testData/codegen/box/objects/thisInConstructor.kt");
@@ -9965,6 +9965,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/objects/simpleObject.kt");
}
@TestMetadata("substitutionFunctionFromSuper.kt")
public void testSubstitutionFunctionFromSuper() throws Exception {
runTest("compiler/testData/codegen/box/objects/substitutionFunctionFromSuper.kt");
}
@TestMetadata("thisInConstructor.kt")
public void testThisInConstructor() throws Exception {
runTest("compiler/testData/codegen/box/objects/thisInConstructor.kt");