[FIR] Approximate integer constants in lhs of callable reference
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
fun Short.foo(): Int = 1
|
||||
fun Int.foo(): Int = 2
|
||||
|
||||
fun testRef(f: () -> Int) {}
|
||||
|
||||
fun test() {
|
||||
// should resolve to Int.foo
|
||||
testRef(1::foo)
|
||||
}
|
||||
Reference in New Issue
Block a user