Remove tests on RTTI
It was never implemented
This commit is contained in:
committed by
Alexander Udalov
parent
0df71bd696
commit
de37f73c8d
@@ -1,10 +0,0 @@
|
||||
class X<T> () {
|
||||
fun getTypeChecker() = { (a : Any) -> a is T }
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val c = X<String>().getTypeChecker()
|
||||
if(c(10)) return "fail"
|
||||
if(!c("lala")) return "fail"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user