Sometimes I wish to have a compiler flag for not i...
# coroutines
p
Sometimes I wish to have a compiler flag for not inlining anything for debugging
o
This is not possible due to non-local returns
😅 1
l
@orangy Are you saying it would be possible for all inlined methods that don't use non local returns?
o
It’s not functions that use non-local returns, it’s lambdas that are passed into.
l
Yes, that's why I said "inlined" and not "inline". When the lambda doesn't use non local returns, it'd be possible, right?
o
Yes, why not? You can call them from Java after all
l
So @Paul Woitaschek dream is partly possible. Not that I need it though (I never write bugs in Kotlin lol), but interesting to know if it ever becomes important for some debugging problems that don't involve non local returns
o
I would invest into making debugging more robust and useful with inlining 🙂
👍 1