FIR2IR: support static fake overrides (functions) #KT-53441 Fixed
This commit is contained in:
committed by
Space Team
parent
ec77e1896c
commit
3a81174a4c
+20
@@ -0,0 +1,20 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// ISSUE: KT-53441
|
||||
// MODULE: lib
|
||||
// FILE: test/J.java
|
||||
package test;
|
||||
|
||||
class I {
|
||||
public static String foo() { return "O"; }
|
||||
|
||||
public static String bar() { return "K"; }
|
||||
}
|
||||
|
||||
public class J extends I {}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: k.kt
|
||||
import test.J
|
||||
import test.J.bar
|
||||
|
||||
fun box() = J.foo() + bar()
|
||||
Reference in New Issue
Block a user