regression test for KT-3421
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
public object Globals{
|
||||
public fun get(key: String, remove: Boolean = true): String {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Globals["test"]
|
||||
}
|
||||
+6
@@ -6049,6 +6049,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt3421.kt")
|
||||
public void testKt3421() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt3421.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt3587.kt")
|
||||
public void testKt3587() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/kt3587.kt");
|
||||
|
||||
Reference in New Issue
Block a user