Support nullable types on left-hand side of ::

#KT-1183 In Progress
This commit is contained in:
Alexander Udalov
2014-06-02 20:27:19 +04:00
parent 42991e05a1
commit a9b2fd964b
7 changed files with 107 additions and 10 deletions
@@ -0,0 +1,8 @@
class A {
fun foo() {}
}
fun A?.foo() {}
val f = A::foo : KMemberFunction0<A, Unit>
val g = A?::foo : KExtensionFunction0<A, Unit>