Importing root scope without members.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// FILE: rootPackage.kt
|
||||
class ~k~Klass {
|
||||
}
|
||||
|
||||
fun ~f~function() = ""
|
||||
|
||||
val ~p~property = ""
|
||||
|
||||
// FILE: anotherFromRootPackage.kt
|
||||
fun foo() {
|
||||
`k`Klass()
|
||||
`f`function()
|
||||
`p`property
|
||||
}
|
||||
|
||||
// FILE: otherPackage.kt
|
||||
package test
|
||||
|
||||
import `!`Klass
|
||||
import `!`function
|
||||
import `!`property
|
||||
|
||||
fun foo() {
|
||||
`!`Klass()
|
||||
`!`function()
|
||||
`!`property
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user