Surround with try/catch should generate more Kotlin-style code (KT-5435)
#KT-5435 Fixed
This commit is contained in:
+2
-3
@@ -1,9 +1,8 @@
|
||||
fun foo() {
|
||||
val a: String
|
||||
val b: String
|
||||
<selection>run</selection> {
|
||||
val b = <selection>run</selection> {
|
||||
a = "aaa"
|
||||
b = "aaa"
|
||||
"aaa"
|
||||
}
|
||||
|
||||
a.charAt(1)
|
||||
|
||||
Reference in New Issue
Block a user