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

Issue 652743009: Classes: static should still be treated as a strict reserved word (Closed)

Created:
6 years, 2 months ago by arv (Not doing code reviews)
Modified:
6 years, 1 month ago
Reviewers:
rossberg
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Classes: static should still be treated as a strict reserved word When --harmony-classes is enabled we did not treat static as a strict reserved word. BUG=v8:3642 LOG=Y R=rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=25087

Patch Set 1 : #

Patch Set 2 : cleanup #

Total comments: 6

Patch Set 3 : Move handling of identifiers into IdentifierIsFutureStrictReserved #

Patch Set 4 : Use let and not eval. Add tests that covers this too #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -48 lines) Patch
M src/parser.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/preparser.h View 1 2 3 11 chunks +21 lines, -14 lines 1 comment Download
M src/preparser.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/scanner.cc View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 5 chunks +64 lines, -25 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
arv (Not doing code reviews)
6 years, 2 months ago (2014-10-20 17:00:25 UTC) #4
arv (Not doing code reviews)
I'm confused. I can repro the error when running test262-es6 but it does not reproduce ...
6 years, 2 months ago (2014-10-20 17:02:44 UTC) #5
arv (Not doing code reviews)
cleanup
6 years, 2 months ago (2014-10-20 17:10:05 UTC) #6
rossberg
On 2014/10/20 17:02:44, arv wrote: > I'm confused. I can repro the error when running ...
6 years, 2 months ago (2014-10-20 17:16:21 UTC) #7
arv (Not doing code reviews)
On 2014/10/20 17:16:21, rossberg wrote: > On 2014/10/20 17:02:44, arv wrote: > > I'm confused. ...
6 years, 2 months ago (2014-10-20 17:44:29 UTC) #8
arv (Not doing code reviews)
On 2014/10/20 17:44:29, arv wrote: > On 2014/10/20 17:16:21, rossberg wrote: > > On 2014/10/20 ...
6 years, 2 months ago (2014-10-20 18:31:08 UTC) #9
rossberg
https://codereview.chromium.org/652743009/diff/60001/src/parser.h File src/parser.h (right): https://codereview.chromium.org/652743009/diff/60001/src/parser.h#newcode856 src/parser.h:856: return identifier->IsOneByteEqualTo("let") || Is there a reason we cannot ...
6 years, 1 month ago (2014-10-31 10:16:04 UTC) #10
arv (Not doing code reviews)
Move handling of identifiers into IdentifierIsFutureStrictReserved
6 years, 1 month ago (2014-10-31 10:44:07 UTC) #11
arv (Not doing code reviews)
PTAL https://codereview.chromium.org/652743009/diff/60001/src/parser.h File src/parser.h (right): https://codereview.chromium.org/652743009/diff/60001/src/parser.h#newcode856 src/parser.h:856: return identifier->IsOneByteEqualTo("let") || On 2014/10/31 10:16:04, rossberg wrote: ...
6 years, 1 month ago (2014-10-31 10:44:18 UTC) #12
rossberg
lgtm
6 years, 1 month ago (2014-10-31 11:35:33 UTC) #13
arv (Not doing code reviews)
On 2014/10/31 11:35:33, rossberg wrote: > lgtm This is hitting an assert. Looking into it.
6 years, 1 month ago (2014-10-31 11:41:53 UTC) #14
arv (Not doing code reviews)
Use let and not eval. Add tests that covers this too
6 years, 1 month ago (2014-10-31 12:10:05 UTC) #15
arv (Not doing code reviews)
Found the bug and added tests that covers this. https://codereview.chromium.org/652743009/diff/100001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/652743009/diff/100001/src/preparser.h#newcode634 src/preparser.h:634: ...
6 years, 1 month ago (2014-10-31 12:11:54 UTC) #16
rossberg
lgtm
6 years, 1 month ago (2014-10-31 12:27:17 UTC) #17
arv (Not doing code reviews)
6 years, 1 month ago (2014-11-03 19:53:47 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:100001) manually as 25087 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698