Join Slack
Powered by
Not a perfect solution, but you could move the def...
# language-proposals
e
ean5533
09/15/2016, 10:43 PM
Not a perfect solution, but you could move the defaults into the method:
Copy code
something(val foo: Int? = null) { foo = foo ?: 100 }
Open in Slack
Previous
Next