Retain data flow info after try-finally
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
fun tryFinally(x: Int?) {
|
||||
try {
|
||||
} finally {
|
||||
x!!
|
||||
}
|
||||
x : Int
|
||||
}
|
||||
|
||||
fun tryCatchFinally(x: Int?) {
|
||||
try {
|
||||
x!!
|
||||
} catch (e: Exception) {
|
||||
x!!
|
||||
} finally {
|
||||
<!TYPE_MISMATCH!>x<!> : Int
|
||||
x!!
|
||||
}
|
||||
x : Int
|
||||
}
|
||||
Reference in New Issue
Block a user