[Webkit-unassigned] [Bug 14611] New: Incorrect const behaviour
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 13 12:01:48 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14611
Summary: Incorrect const behaviour
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cwzwarich at uwaterloo.ca
When I was fixing the patch for bug 13517 so that it would past fast/js/const,
I realized that const is currently handled incorrectly.
A variable that is declared with either a var declaration or a const
declaration can be redeclared (and given a new value) with const, which is
against
<http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Statements:const>.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list