c8cade5bf3
When resolving a name that is used as a receiver and all candidates are classifier symbols, we need to perform qualifier resolution. The code used to only do that for regular classes, and would not perform qualifier resolution if there was a type alias candidate. ^KT-51171 Fixed
14 lines
164 B
Kotlin
Vendored
14 lines
164 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
|
|
// FILE: Error.java
|
|
|
|
public class Error {
|
|
static String foo() {
|
|
return "OK";
|
|
}
|
|
}
|
|
|
|
// FILE: test.kt
|
|
|
|
fun box() = Error.foo()
|