Files
openide/plugins/kotlin/idea/tests/testData/resolve/references/TopLevelObjectVsLocalClassConstructor2.kt
Roman Golyshev 1a2d742c60 Add new reference resolve tests
The main purpose is to show that old frontend and FIR work differently
in the case of the conflicts of local and top level classes/objects

See the tests that marked with // IGNORE_FIR

Corresponding ticket is ^KT-45192
Original commit: 6ebd4b954cf49d657afefe24e58bc8443dd578c5

GitOrigin-RevId: 231cae6580e71217cf51b109774f851b6e0986fb
2022-01-22 10:50:53 +00:00

13 lines
153 B
Kotlin

package test
object Conflict {
operator fun invoke() {}
}
fun test() {
class Conflict
<caret>Conflict()
}
// REF: (in test.test).Conflict