[IR] add testdata for dumpKotlinLike
This commit is contained in:
committed by
teamcityserver
parent
d2022ab115
commit
8d5facb15f
@@ -0,0 +1,13 @@
|
||||
fun testImplicitCast(a: Any) {
|
||||
when {
|
||||
a !is String -> return Unit
|
||||
}
|
||||
val t: String = try { //BLOCK
|
||||
a
|
||||
} /*as String */
|
||||
catch (...) { //BLOCK
|
||||
""
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user