Test for KT-3162 More precise try-finally error marking
#KT-3162 Obsolete
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
//KT-3162 More precise try-finally error marking
|
||||
|
||||
fun foo(x: String) : String {
|
||||
<!UNREACHABLE_CODE!>val <!UNUSED_VARIABLE!>a<!> =<!> try {
|
||||
x
|
||||
} finally {
|
||||
try {
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
return x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user