Extract Function: Allow to extract local variables which are used outside of extracted fragment
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
// SIBLING:
|
||||
fun main(args: Array<String>) {
|
||||
<selection>val a = 1</selection>
|
||||
fun foo() = a
|
||||
}
|
||||
Reference in New Issue
Block a user