On Tuesday, October 23, 2018 at 8:52:47 AM UTC+11, Botond Ballo wrote: > I will be attending this meeting
So jealous! Enjoy ;-) > Finally, I encourage you to reach out to me if you're thinking of > submitting a proposal to the committee. I'm always happy to help with > formulating and, if necessary, presenting a proposal. Here's one I'd like: for (int i = ...; test(i); i = next(i)) { if (good_stuff(i)) { break; /* goto past `else` block */ } } else { /* test(i) failed, i.e., we didn't `break` */ do_something(i); // decls inside `for(...)` still in scope. } and/or: for (auto& x: xs) { if (good_stuff(x)) { break; /* goto past `else` block */ } } else { /* went off-range, i.e., we didn't `break` */ } Thanks in advance! :-D (Though seriously: Worth pursuing?) Cheers, Gerald _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform