Join Slack
Powered by
<@U4UGS5FC7> tailrec instance function cannot recu...
# announcements
i
ilya.gorbunov
04/16/2017, 2:12 AM
@raulraja
tailrec instance function cannot recurse into another instance, because it cannot change the value of
this
inside it. You can try to make it an extension function instead, so that
this
becomes a plain parameter.
r
raulraja
04/16/2017, 5:04 PM
thanks, I'll give that a shot
2
Views
Open in Slack
Previous
Next