[psi2ir] Add tests for implicit casts "to" and "from" dynamic type

This commit is contained in:
Zalim Bashorov
2019-04-04 15:38:24 +03:00
parent dffcfdc02f
commit 57a6b53780
5 changed files with 179 additions and 0 deletions
@@ -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)