Support nullable types on left-hand side of ::
#KT-1183 In Progress
This commit is contained in:
+8
@@ -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>
|
||||
Reference in New Issue
Block a user