generating the body of the finally clause _four_ times is one time too many
#KT-1688 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun box(): String {
|
||||
var s = ""
|
||||
try {
|
||||
throw RuntimeException()
|
||||
} catch (e : RuntimeException) {
|
||||
} finally {
|
||||
s += "OK"
|
||||
}
|
||||
return s
|
||||
}
|
||||
Reference in New Issue
Block a user