[Webkit-unassigned] [Bug 106176] Non-helpful SyntaxError message for duplicate parameters in strict mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 20:29:15 PDT 2016


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

Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joepeck at webkit.org

--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> ---
Things are slightly better now. It would still be nice if it said duplicate parameters though. Current state of things (r207235):

js> function f(a,a){'use strict'}
Invalid parameters or function name in strict mode.:1
js> function f(a,a){'use strict'; ''} 
Invalid parameters or function name in strict mode.:1
js> function f(a,a){'use strict'; return a}
Invalid parameters or function name in strict mode.:1

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


More information about the webkit-unassigned mailing list