Copy: Support top-level declarations
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package bar
|
||||
|
||||
fun a() {
|
||||
val x = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun a() {
|
||||
val x = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun a() {
|
||||
val <caret>x = 1
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"mainFile": "foo/test.kt",
|
||||
"targetPackage": "bar"
|
||||
}
|
||||
Reference in New Issue
Block a user