mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[kotlin] Add tests for binding FQN
GitOrigin-RevId: 7b82a03b5722e361ba4c8adbbac6dd66ecdd3698
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1842a4ec51
commit
dbbbf738e4
@@ -0,0 +1,16 @@
|
||||
// FILE: test/Test.kt
|
||||
// BIND_TO bar.fooBar
|
||||
package test
|
||||
|
||||
import bar.fooBar
|
||||
|
||||
fun Any.usage() {
|
||||
foo<caret>Bar() //shorten references bug https://youtrack.jetbrains.com/issue/KT-64493, should be bar.fooBar()
|
||||
}
|
||||
|
||||
// FILE: bar/Bar.kt
|
||||
package bar
|
||||
|
||||
val fooBar: () -> Unit = { }
|
||||
|
||||
val fooBar: Any.() -> Unit = { }
|
||||
@@ -0,0 +1,10 @@
|
||||
// FILE: test/Test.kt
|
||||
// BIND_TO bar.fooBar
|
||||
package test
|
||||
|
||||
import bar.fooBar
|
||||
|
||||
fun Any.usage() {
|
||||
foo<caret>Bar() //shorten references bug https://youtrack.jetbrains.com/issue/KT-64493, should be bar.fooBar()
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user