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