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

Issue 1612083002: Initial --modules=es6 support (Closed)

Created:
4 years, 11 months ago by ochafik
Modified:
4 years, 11 months ago
Reviewers:
vsm, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Initial --modules=es6 support Known issues: - Import syntax: using 'dart/core' right now, but should be './dart/core' or something else? - _jsModuleValue not supported in es6 output yet (how is it meant to be used?) BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/9e8845249466b3a27364c28a68e46a6999647559

Patch Set 1 #

Patch Set 2 : removed ctor tearoffs #

Patch Set 3 : #

Patch Set 4 : reformat #

Total comments: 30

Patch Set 5 : addressed comments (legacy, doc) + test enum utils #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -60 lines) Patch
M lib/src/codegen/js_codegen.dart View 1 2 3 4 3 chunks +15 lines, -43 lines 0 comments Download
A lib/src/codegen/module_builder.dart View 1 2 3 4 1 chunk +158 lines, -0 lines 0 comments Download
M lib/src/js/nodes.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/src/options.dart View 1 2 3 4 7 chunks +15 lines, -9 lines 0 comments Download
M lib/src/utils.dart View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
M test/all_tests.dart View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A test/codegen/es6_modules.dart View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A test/codegen/expect/es6_modules.js View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A test/codegen/expect/es6_modules.txt View 1 chunk +1 line, -0 lines 0 comments Download
M test/codegen_test.dart View 1 2 3 4 3 chunks +15 lines, -6 lines 0 comments Download
A test/utils_test.dart View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
ochafik
Hey guys, I had a go at outputting es6 modules: there are some unresolved questions ...
4 years, 11 months ago (2016-01-21 16:46:11 UTC) #2
vsm
On 2016/01/21 16:46:11, ochafik wrote: > Hey guys, I had a go at outputting es6 ...
4 years, 11 months ago (2016-01-21 19:19:31 UTC) #4
ochafik
On 2016/01/21 19:19:31, vsm wrote: > On 2016/01/21 16:46:11, ochafik wrote: > > Hey guys, ...
4 years, 11 months ago (2016-01-22 09:14:39 UTC) #5
Jennifer Messerly
LGTM! https://codereview.chromium.org/1612083002/diff/60001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1612083002/diff/60001/lib/src/codegen/js_codegen.dart#newcode182 lib/src/codegen/js_codegen.dart:182: var moduleBuilder = new ModuleBuilder( wow, this ModuleBuilder ...
4 years, 11 months ago (2016-01-22 18:29:01 UTC) #6
ochafik
Thanks John! https://codereview.chromium.org/1612083002/diff/60001/lib/src/codegen/module_builder.dart File lib/src/codegen/module_builder.dart (right): https://codereview.chromium.org/1612083002/diff/60001/lib/src/codegen/module_builder.dart#newcode5 lib/src/codegen/module_builder.dart:5: library dev_compiler.src.codegen.js_codegen; On 2016/01/22 18:29:01, John Messerly ...
4 years, 11 months ago (2016-01-23 12:24:18 UTC) #7
ochafik
4 years, 11 months ago (2016-01-24 18:10:04 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
9e8845249466b3a27364c28a68e46a6999647559 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698