Minor, add test for obsolete issue
#KT-4228 Obsolete
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
class A {
|
||||||
|
class object
|
||||||
|
}
|
||||||
|
|
||||||
|
val foo: Any.() -> Unit = {}
|
||||||
|
|
||||||
|
fun test() {
|
||||||
|
A.(foo)()
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
test()
|
||||||
|
return "OK"
|
||||||
|
}
|
||||||
@@ -3215,6 +3215,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt4228.kt")
|
||||||
|
public void testKt4228() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/extensionFunctions/kt4228.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt475.kt")
|
@TestMetadata("kt475.kt")
|
||||||
public void testKt475() throws Exception {
|
public void testKt475() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/extensionFunctions/kt475.kt");
|
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/extensionFunctions/kt475.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user