Move: Add import for top-level declarations moved to the default package
#KT-22661 Fixed
This commit is contained in:
+2
@@ -1,5 +1,7 @@
|
||||
package a
|
||||
|
||||
import Y
|
||||
|
||||
class X: Y() {
|
||||
fun main() {
|
||||
Y().foo()
|
||||
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
package a
|
||||
|
||||
class Y {
|
||||
import X
|
||||
|
||||
class Y(x: X) {
|
||||
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ class <caret>X {
|
||||
|
||||
}
|
||||
|
||||
class Y {
|
||||
class Y(x: X) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user