Join Slack
Powered by
Moving from <#C0922A726>: What do you think about...
# language-proposals
m
mg6maciej
03/07/2016, 12:15 PM
Moving from
#C0922A726
: What do you think about allowing definition of a method on optional type? Just like I can define an extension function:
fun MyClass?.myFunction() = ...
I was thinking about something like:
Copy code
class MyClass { fun ?myFunction() = ... }
Open in Slack
Previous
Next