KT-12100 convert try / finally to use: 'this' cases, implementation via resolved call
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// WITH_RUNTIME
|
||||
import java.io.File
|
||||
import java.io.BufferedReader
|
||||
|
||||
fun BufferedReader.foo() {
|
||||
try {
|
||||
readLine()
|
||||
}
|
||||
<caret>finally {
|
||||
close()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user