Files
kotlin-fork/compiler/testData/lineNumber/custom/tryCatchExpression.kt
T
Alexander Udalov 9cb19d17b0 Don't test line numbers on *Package classes
Package classes in line number tests only contain "1" as the first line number
of a single function, so there's no point in testing it. The test was failing
due to the latest changes in the order of generation of classfiles (first $src,
then facade)
2013-08-26 15:59:38 +04:00

16 lines
226 B
Kotlin

fun foo() {
try {
System.out?.println()
} catch (e: Throwable) {
return
}
val t = try {
System.out?.println()
} catch (e: Throwable) {
return
}
}
// 2 3 5 8 9 11 8