mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
Move Declaration to Separate File: Process internal references since imports may be necessary in the new file
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package q
|
||||
|
||||
fun bar() {
|
||||
|
||||
}
|
||||
@@ -1,7 +1,11 @@
|
||||
package p
|
||||
|
||||
class <caret>A {
|
||||
import q.bar
|
||||
|
||||
class <caret>A {
|
||||
init {
|
||||
bar()
|
||||
}
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
|
||||
Reference in New Issue
Block a user