[Webkit-unassigned] [Bug 186073] [WSL] "do while" should require a '; ' at the end for similarity with C-like languages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 15 22:56:04 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=186073

Myles C. Maxfield <mmaxfield at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmaxfield at apple.com

--- Comment #1 from Myles C. Maxfield <mmaxfield at apple.com> ---
(In reply to Robin Morisset from comment #0)
> e.g.
> int f() {
>     int x;
>     x = 42;
>     do
>       x += 3;
>     while (false)
>     return x;
> }
> should be refused.

What's the reason for this? Why not make it optional?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180816/4ea2d077/attachment.html>


More information about the webkit-unassigned mailing list