AA: use explicit qualifier type if available
...when computing receiver type for double colon expression ^KT-65150 fixed
This commit is contained in:
committed by
Space Team
parent
2277c1ba97
commit
2429d09edd
+15
@@ -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
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
expression: IntMath::factorial
|
||||
receiver:: type: my.math.IntMath
|
||||
Reference in New Issue
Block a user