Surround with: move declaration out from block
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun foo() {
|
||||
val a: String
|
||||
val b: String
|
||||
<selection>run</selection> {
|
||||
a = "aaa"
|
||||
b = "aaa"
|
||||
}
|
||||
|
||||
a.charAt(1)
|
||||
b.charAt(1)
|
||||
}
|
||||
Reference in New Issue
Block a user