Don't use term "Static import" + refer quickfix by class name in negative tests
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
// FILE: main.before.kt
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
|
||||
package foo
|
||||
|
||||
fun f() {
|
||||
foobar<caret>()
|
||||
}
|
||||
|
||||
|
||||
// FILE: dependency.before.kt
|
||||
package bar
|
||||
|
||||
object Foo {
|
||||
fun foobar() {
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: main.after.kt
|
||||
// "Import member" "true"
|
||||
// ERROR: Unresolved reference: foobar
|
||||
|
||||
//KT-9009
|
||||
|
||||
package foo
|
||||
|
||||
import bar.Foo.foobar
|
||||
|
||||
fun f() {
|
||||
foobar<caret>()
|
||||
}
|
||||
Reference in New Issue
Block a user