Proper errors for cases like 'is Map' supported in 'when'
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// "Add '<*>'" "true"
|
||||
public fun foo(a: Any) {
|
||||
when (a) {
|
||||
is java.util.ArrayList<*> -> {}
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user