[FIR JS] Support DELEGATION_BY_DYNAMIC
This commit is contained in:
committed by
Space Team
parent
95b589fd94
commit
0f876f665a
-13
@@ -1,13 +0,0 @@
|
||||
val x: dynamic = 23
|
||||
|
||||
interface I {
|
||||
fun foo(): String
|
||||
}
|
||||
|
||||
class C : I by x
|
||||
|
||||
object O : I by x
|
||||
|
||||
fun box(): String {
|
||||
return object : I by x {}.foo()
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
val x: dynamic = 23
|
||||
|
||||
interface I {
|
||||
|
||||
Reference in New Issue
Block a user