[Webkit-unassigned] [Bug 189914] Throws incorrectly a syntax error when declaring a top level catch variable the same as a parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 11 10:10:52 PDT 2020


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

--- Comment #4 from Keith Miller <keith_miller at apple.com> ---
Ah, thanks for the report. I think this is happening because we were not incrementing the statement depth (we use the numeric depth as an optimization for determining if we should do the hash table lookup for parameter shadowing) when parsing catch parameters. Should be an easy fix.

-- 
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/20200311/c13432a5/attachment.htm>


More information about the webkit-unassigned mailing list