JS: move RTTI tests to proper location
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
object Obj
|
||||
|
||||
fun box(): String {
|
||||
val r: Any = Obj
|
||||
|
||||
if (r !is Obj) return "r !is Obj"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user