Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
tryCatchWithImplicitCast.kt.txt
blob: afa4c169ee57ecd2158b5436f2538683fccd4ab6 [
file
]
fun testImplicitCast(a: Any) {
when {
a !is String -> return Unit
}
val t: String = try { // BLOCK
a
} /*as String */
catch (e: Throwable){ // BLOCK
""
}
}