Files
Vladimir Dolzhenko 38596b2a2e [kotlin] Update try-catch pattern
#KTIJ-22126 Fixed

GitOrigin-RevId: 30370df90fe89ff7c84e6cf7c3c5632f4ea0c6b5
2022-07-08 10:36:57 +00:00

9 lines
163 B
Plaintext

fun foo() {
val a = try {
"aaa"
} catch (e: <selection><caret>Exception</selection>) {
TODO("Not yet implemented")
}
a.charAt(1)
}