[K2] isUsedAsExpression analysis
This commit is contained in:
committed by
teamcity
parent
d9701c71b7
commit
f765457e51
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
fun test(b: Any?): Int {
|
||||
if (<expr>b is Number</expr>) {
|
||||
return 54
|
||||
} else if (b is Int) {
|
||||
return 87
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user