Resolve callable reference expressions

#KT-1183 In Progress
This commit is contained in:
Alexander Udalov
2013-04-02 22:23:28 +04:00
parent 1db026aac5
commit c4b4fa750c
52 changed files with 1171 additions and 13 deletions
@@ -0,0 +1,15 @@
class A
fun A.foo() {}
fun A.bar(<!UNUSED_PARAMETER!>x<!>: Int) {}
fun A.baz() = "OK"
fun main() {
val x = A::foo
val y = A::bar
val z = A::baz
x : KExtensionFunction0<A, Unit>
y : KExtensionFunction1<A, Int, Unit>
z : KExtensionFunction0<A, String>
}