Join Slack
Powered by
Question… why can I define a top level inline exte...
# announcements
n
natpryce
10/21/2016, 1:09 PM
Question… why can I define a top level inline extension function but not an inline computed extension property? E.g.
~
inline fun <T> T.foo(): T = this inline val <T> T.foo : T get() = this
~
The first line compiles, the second does not.
3
Views
Open in Slack
Previous
Next