21dffe4639
`firResolveSession.getTowerContextProvider` should already contain all the relevant scopes, including default and importing scopes for the file Because of this, import and default scopes had presence over the more local scopes, and the resolve was performed incorrecty - top level candidates were given higher priority ^KT-61568 Fixed ^KTIJ-26824 Fixed
11 lines
108 B
Kotlin
Vendored
11 lines
108 B
Kotlin
Vendored
package test
|
|
|
|
class A {
|
|
fun foo() {}
|
|
|
|
fun usage() {
|
|
<expr>foo()</expr>
|
|
}
|
|
}
|
|
|
|
fun foo() {} |