PSI2IR KT-47245 handle declaration statements in control structures

This commit is contained in:
Dmitry Petrov
2021-06-11 13:24:35 +03:00
committed by TeamCityServer
parent 3be348f910
commit bf077b893c
15 changed files with 120 additions and 2 deletions
@@ -5351,6 +5351,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/controlStructures/kt42455.kt");
}
@TestMetadata("kt47245.kt")
public void testKt47245() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt47245.kt");
}
@TestMetadata("kt513.kt")
public void testKt513() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt513.kt");
@@ -4757,6 +4757,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlStructures/kt42455.kt");
}
@TestMetadata("kt47245.kt")
public void testKt47245() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt47245.kt");
}
@TestMetadata("kt513.kt")
public void testKt513() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt513.kt");
@@ -4757,6 +4757,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlStructures/kt42455.kt");
}
@TestMetadata("kt47245.kt")
public void testKt47245() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt47245.kt");
}
@TestMetadata("kt513.kt")
public void testKt513() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt513.kt");
@@ -3365,6 +3365,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/controlStructures/kt42455.kt");
}
@TestMetadata("kt47245.kt")
public void testKt47245() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt47245.kt");
}
@TestMetadata("kt772.kt")
public void testKt772() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/kt772.kt");