Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Issue 6592031: Disable const in strict mode. (Closed)

Created:
9 years, 10 months ago by Martin Maly
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Disable const in strict mode. Using const in strict mode yields SyntaxError. BUG= TEST=test/mjsunit/strict-mode.js

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M src/messages.js View 1 chunk +1 line, -0 lines 0 comments Download
M src/parser.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/strict-mode.js View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Martin Maly
const is a syntax error in strict mode.
9 years, 10 months ago (2011-02-26 18:35:54 UTC) #1
Mads Ager (chromium)
9 years, 9 months ago (2011-02-28 08:23:15 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698