psi2ir: simple dynamic member calls
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun test1(d: dynamic) = d.member(1, 2, 3)
|
||||
|
||||
fun test2(d: dynamic) = d?.member(1, 2, 3)
|
||||
|
||||
// Named arguments in dynamic calls are ignored by JS back-end.
|
||||
// If this becomes a compilation error, simply remove this particular test case.
|
||||
fun test3(d: dynamic) = d.member(a = 1, b = 2, c = 3)
|
||||
Reference in New Issue
Block a user