Hey Kotlinerds. I'm running into what I would cons...
# announcements
a
Hey Kotlinerds. I'm running into what I would consider a bug unless I'm missing something. Having trouble reproducing it; not sure of the root cause. Let me know if this rings a bell or would make sense: I have a private inline function in an abstract class:
ifActorThreadIsAvailable(action: (complete: () -> Unit) -> Unit)
And this works as expected. But when I call it through a non-inline function in the same class (no issues calling through another inline) it explodes:
NoClassDefFoundError: mypkg/AbstractActor$ifActorThreadIsAvailable$1
. The non-inline function contains a call like this
ifActorThreadIsAvailable { complete -> ...
Does the
$1
mean it's failing to find an internal anonymous lambda class or something? Thanks