[Issue 8622] Allow labeled breaks to work on *any* block

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 20 17:08:00 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=8622

--- Comment #7 from Nick Treleaven <nick at geany.org> ---
I just discovered that JavaScript actually supports this:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label#Using_a_labeled_block_with_break

JS has the same syntax as D for labelled loop break/continue.

--


More information about the Digitalmars-d-bugs mailing list