Hi, is it supposed to work? named@for() { synchron...
# getting-started
s
Hi, is it supposed to work? named@for() { synchronized(obj) { ... continue@named; } } ? I was under impression that synchronized is inline function, and therefore there's no restrictions on control flow statements inside passed lambda, but compiler gives an error.
s
That issues link is broken. Just goes to the kotlin book page
e
Yes. It is an old one. The description is self-explaining, though. There is not much more to say. But I’ll comment there on why this issue does not have a straght-forward design.
(just added comment to the issue)
s
Roman, thanks, I got the idea why it's still not implemented. Needs more thinking.