JVM_IR KT-44744 check accessibility of enum entry 'this'

This commit is contained in:
Dmitry Petrov
2021-03-15 12:52:40 +03:00
committed by TeamCityServer
parent 14cb762133
commit e630e00e99
11 changed files with 165 additions and 3 deletions
@@ -10321,6 +10321,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
}
@TestMetadata("kt44744.kt")
public void testKt44744() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744.kt");
}
@TestMetadata("kt44744_innerClass.kt")
public void testKt44744_innerClass() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744_innerClass.kt");
}
@TestMetadata("kt7257.kt")
public void testKt7257() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
@@ -9778,6 +9778,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
}
@TestMetadata("kt44744.kt")
public void testKt44744() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744.kt");
}
@TestMetadata("kt44744_innerClass.kt")
public void testKt44744_innerClass() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744_innerClass.kt");
}
@TestMetadata("kt7257.kt")
public void testKt7257() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
@@ -9778,6 +9778,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
}
@TestMetadata("kt44744.kt")
public void testKt44744() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744.kt");
}
@TestMetadata("kt44744_innerClass.kt")
public void testKt44744_innerClass() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744_innerClass.kt");
}
@TestMetadata("kt7257.kt")
public void testKt7257() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt7257.kt");
@@ -4797,6 +4797,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/enum/kt38996.kt");
}
@TestMetadata("kt44744.kt")
public void testKt44744() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744.kt");
}
@TestMetadata("kt44744_innerClass.kt")
public void testKt44744_innerClass() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt44744_innerClass.kt");
}
@TestMetadata("kt7257.kt")
public void testKt7257() throws Exception {
runTest("compiler/testData/codegen/box/enum/kt7257.kt");