Move callable reference diagnostic tests to non-stdlib
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
open class A {
|
||||
fun foo() = 42
|
||||
|
||||
object B: A()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
A.B.(A::foo)()
|
||||
}
|
||||
Reference in New Issue
Block a user