b454fcc1e0
This is needed to avoid clashes between different dumps from different handlers
13 lines
181 B
Kotlin
Vendored
13 lines
181 B
Kotlin
Vendored
fun testImplicitCast(a: Any) {
|
|
when {
|
|
a !is String -> return Unit
|
|
}
|
|
val t: String = try { // BLOCK
|
|
a
|
|
} /*as String */
|
|
catch (e: Throwable){ // BLOCK
|
|
""
|
|
}
|
|
|
|
}
|