blob: afa4c169ee57ecd2158b5436f2538683fccd4ab6 [file] [log] [blame]
fun testImplicitCast(a: Any) {
when {
a !is String -> return Unit
}
val t: String = try { // BLOCK
a
} /*as String */
catch (e: Throwable){ // BLOCK
""
}
}