[Webkit-unassigned] [Bug 52079] Syntax errors should be early errors.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 10 11:27:42 PST 2011


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





--- Comment #8 from Oliver Hunt <oliver at apple.com>  2011-01-10 11:27:42 PST ---
(From update of attachment 78414)
View in context: https://bugs.webkit.org/attachment.cgi?id=78414&action=review

You need to add tests for nested labels, so r- for that, but also i don't believe that you're right to make L1: while(1) { L1: while(1) {}} an error so i want to know what justifies that decision.

> Source/JavaScriptCore/parser/JSParser.cpp:1264
> +        failIfTrue(hasLabel(ident));

You have just made
L1: while(...) { L1:  while (...) { ... } }

A syntax error, which it never was before.  What portion of the spec says that this is an error?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list