[psi2ir] Add tests for implicit casts "to" and "from" dynamic type
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
val d: dynamic = 1
|
||||
|
||||
val p: Int = d
|
||||
|
||||
fun test1(d: dynamic): Int = d
|
||||
|
||||
fun test2(d: dynamic): Any = d
|
||||
|
||||
fun test3(d: dynamic): Any? = d
|
||||
|
||||
fun test4(d: dynamic): String = d.member(1, 2, 3)
|
||||
Reference in New Issue
Block a user