https://kotlinlang.org logo
#announcements
Title
# 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