[FIR] Ensure qualifier resolution takes place for type aliases.
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
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// FILE: Error.java
|
||||
|
||||
public class Error {
|
||||
static String foo() {
|
||||
return "OK";
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() = Error.foo()
|
||||
Reference in New Issue
Block a user