[IR] add testdata for irJsText
This commit is contained in:
committed by
teamcityserver
parent
68b17fe55b
commit
cdc74304c7
@@ -0,0 +1,14 @@
|
||||
fun test1(d: dynamic): Int {
|
||||
return when {
|
||||
d is String -> d /*~> String */.<get-length>()
|
||||
true -> -1
|
||||
}
|
||||
}
|
||||
|
||||
fun test2(d: dynamic): Int {
|
||||
return when {
|
||||
d is Array<*> -> d /*~> Array<out Any?> */.<get-size>()
|
||||
true -> -1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user