a79202b7e7
(because commit broke seveal tests)
This reverts commit 5d2dfcd48f.
11 lines
268 B
Plaintext
11 lines
268 B
Plaintext
fun typeName(a: Any?) : String {
|
|
return when(a) {
|
|
is java.util.ArrayList<Int> => "array list"
|
|
else => "no idea"
|
|
}
|
|
}
|
|
|
|
fun box() : String {
|
|
if(typeName(java.util.ArrayList<Int> ()) != "array list") return "array list failed"
|
|
return "OK"
|
|
} |