[kotlin] Add tests for binding FQN

GitOrigin-RevId: 7b82a03b5722e361ba4c8adbbac6dd66ecdd3698
This commit is contained in:
Bart van Helvert
2024-03-06 14:26:07 +01:00
committed by intellij-monorepo-bot
parent 1842a4ec51
commit dbbbf738e4
107 changed files with 1087 additions and 609 deletions

View File

@@ -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 = { }

View File

@@ -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