JS: fix inheriting fake overrides in inlined object literals
This commit is contained in:
committed by
Anton Bannykh
parent
9716abcc12
commit
2022a9c887
@@ -0,0 +1,11 @@
|
||||
// EXPECTED_REACHABLE_NODES: 1280
|
||||
|
||||
inline fun foo() = (object : II {}).ok()
|
||||
|
||||
fun box() = foo()
|
||||
|
||||
interface I {
|
||||
fun ok() = "OK"
|
||||
}
|
||||
|
||||
interface II: I
|
||||
Reference in New Issue
Block a user