AA: use explicit qualifier type if available

...when computing receiver type for double colon expression

^KT-65150 fixed
This commit is contained in:
Jinseong Jeon
2024-01-19 14:28:32 -08:00
committed by Space Team
parent 2277c1ba97
commit 2429d09edd
7 changed files with 53 additions and 6 deletions
@@ -0,0 +1,15 @@
// FILE: IntMath.java
package my.math;
public final class IntMath {
public static int factorial(int n) {
return 42;
}
}
// FILE: main.kt
import my.math.IntMath
fun test() = IntMath:<caret>:factorial
@@ -0,0 +1,2 @@
expression: IntMath::factorial
receiver:: type: my.math.IntMath