Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
cae7f90b594750d624e94b3325571f4b5ebff2f0
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
tryCatchWithImplicitCast.kt.txt
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
""
}
}