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

Issue 1589173002: [modules] Support parsing anonymous default exports (Closed)

Created:
4 years, 11 months ago by adamk
Modified:
4 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[modules] Support parsing anonymous default exports This includes anonymous Function, Generator, and Class declarations when preceded by 'export default'. Parsing only at the moment, nothing useful is done with the parsed Function/ClassLiteral. BUG=v8:1569 LOG=n Committed: https://crrev.com/25532be593bd80c9e7b3fac4ee50491159902e93 Cr-Commit-Position: refs/heads/master@{#33344}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Pass default as SetFunctionName #

Total comments: 4

Patch Set 3 : Add negative generator test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -19 lines) Patch
M src/parsing/parser.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 7 chunks +55 lines, -15 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 6 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
adamk
4 years, 11 months ago (2016-01-14 23:04:31 UTC) #2
caitp (gmail)
some small things, but why not https://codereview.chromium.org/1589173002/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1589173002/diff/1/src/parsing/parser.cc#newcode1577 src/parsing/parser.cc:1577: default_export = ParseFunctionLiteral( ...
4 years, 11 months ago (2016-01-14 23:12:53 UTC) #4
adamk
https://codereview.chromium.org/1589173002/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1589173002/diff/1/src/parsing/parser.cc#newcode1577 src/parsing/parser.cc:1577: default_export = ParseFunctionLiteral( On 2016/01/14 23:12:53, caitp wrote: > ...
4 years, 11 months ago (2016-01-15 00:06:30 UTC) #5
Dan Ehrenberg
lgtm https://codereview.chromium.org/1589173002/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1589173002/diff/20001/src/parsing/parser.cc#newcode1628 src/parsing/parser.cc:1628: // and add an export entry with "*default*" ...
4 years, 11 months ago (2016-01-15 01:59:12 UTC) #6
adamk
https://codereview.chromium.org/1589173002/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1589173002/diff/20001/src/parsing/parser.cc#newcode1628 src/parsing/parser.cc:1628: // and add an export entry with "*default*" as ...
4 years, 11 months ago (2016-01-15 20:09:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1589173002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1589173002/40001
4 years, 11 months ago (2016-01-15 20:10:08 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-15 20:38:22 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-15 20:39:11 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/25532be593bd80c9e7b3fac4ee50491159902e93
Cr-Commit-Position: refs/heads/master@{#33344}

Powered by Google App Engine
This is Rietveld 408576698