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

Issue 1388523002: dart2js: add support for configuration-specific imports. (Closed)

Created:
5 years, 2 months ago by floitsch
Modified:
5 years ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix unparser. Rename DottedIdentifier->DottedName. #

Patch Set 3 : Address comments. #

Total comments: 4

Patch Set 4 : Address comments and add flag. #

Total comments: 4

Patch Set 5 : Remove debug code. #

Patch Set 6 : Upload after revert and rebase #

Patch Set 7 : Update and fix status files. Implement missing functions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -35 lines) Patch
M pkg/compiler/lib/src/apiimpl.dart View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/commandline_options.dart View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 2 3 4 5 2 chunks +7 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/dart2js.dart View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/library_loader.dart View 1 2 3 4 5 1 chunk +15 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/parser/class_element_parser.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/parser/diet_parser_task.dart View 1 2 3 4 5 2 chunks +8 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/parser/element_listener.dart View 1 2 3 4 5 2 chunks +25 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/parser/listener.dart View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/parser/parser.dart View 1 2 3 4 5 3 chunks +51 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/parser/parser_task.dart View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/parser/partial_parser.dart View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/patch_parser.dart View 1 2 3 4 5 4 chunks +12 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/tree/nodes.dart View 1 2 3 4 5 6 10 chunks +75 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/tree/prettyprint.dart View 1 2 3 4 5 6 3 chunks +16 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree/unparser.dart View 1 2 chunks +28 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/unparser_test.dart View 1 2 chunks +53 lines, -0 lines 0 comments Download
A + tests/language/config_import_lib1a.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib1b.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib1c.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib2a.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib2b.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib2c.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib3a.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib3b.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib3c.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib4a.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib4b.dart View 1 chunk +1 line, -1 line 0 comments Download
A + tests/language/config_import_lib4c.dart View 1 chunk +1 line, -1 line 0 comments Download
A tests/language/config_import_test.dart View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M tests/language/language_analyzer.status View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M tests/language/language_analyzer2.status View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Bob Nystrom
Two nits, but otherwise this looks fantastic. LGTM! https://codereview.chromium.org/1388523002/diff/1/pkg/compiler/lib/src/tree/nodes.dart File pkg/compiler/lib/src/tree/nodes.dart (right): https://codereview.chromium.org/1388523002/diff/1/pkg/compiler/lib/src/tree/nodes.dart#newcode1029 pkg/compiler/lib/src/tree/nodes.dart:1029: // ...
5 years, 2 months ago (2015-10-06 23:46:35 UTC) #2
floitsch
https://codereview.chromium.org/1388523002/diff/1/pkg/compiler/lib/src/tree/nodes.dart File pkg/compiler/lib/src/tree/nodes.dart (right): https://codereview.chromium.org/1388523002/diff/1/pkg/compiler/lib/src/tree/nodes.dart#newcode1029 pkg/compiler/lib/src/tree/nodes.dart:1029: // TODO: this could a DottedIdentifier. On 2015/10/06 23:46:35, ...
5 years, 2 months ago (2015-10-12 19:26:34 UTC) #5
Johnni Winther
LGTM Should the feature be guarded by a flag? https://codereview.chromium.org/1388523002/diff/40001/pkg/compiler/lib/src/parser/parser.dart File pkg/compiler/lib/src/parser/parser.dart (right): https://codereview.chromium.org/1388523002/diff/40001/pkg/compiler/lib/src/parser/parser.dart#newcode221 pkg/compiler/lib/src/parser/parser.dart:221: ...
5 years, 2 months ago (2015-10-13 08:44:29 UTC) #6
Bob Nystrom
On 2015/10/13 08:44:29, Johnni Winther wrote: > LGTM > > Should the feature be guarded ...
5 years, 2 months ago (2015-10-13 16:07:56 UTC) #7
floitsch
PTAL at the latest patch set. (the flag). https://codereview.chromium.org/1388523002/diff/40001/pkg/compiler/lib/src/parser/parser.dart File pkg/compiler/lib/src/parser/parser.dart (right): https://codereview.chromium.org/1388523002/diff/40001/pkg/compiler/lib/src/parser/parser.dart#newcode221 pkg/compiler/lib/src/parser/parser.dart:221: /// ...
5 years, 2 months ago (2015-10-13 21:01:44 UTC) #9
Johnni Winther
lgtm https://codereview.chromium.org/1388523002/diff/80001/pkg/compiler/lib/src/parser/class_element_parser.dart File pkg/compiler/lib/src/parser/class_element_parser.dart (right): https://codereview.chromium.org/1388523002/diff/80001/pkg/compiler/lib/src/parser/class_element_parser.dart#newcode17 pkg/compiler/lib/src/parser/class_element_parser.dart:17: : super(listener, enableConditionalDirectives: false); On 2015/10/13 21:01:44, floitsch ...
5 years, 2 months ago (2015-10-14 07:21:52 UTC) #10
floitsch
https://codereview.chromium.org/1388523002/diff/80001/pkg/compiler/lib/src/parser/parser_task.dart File pkg/compiler/lib/src/parser/parser_task.dart (right): https://codereview.chromium.org/1388523002/diff/80001/pkg/compiler/lib/src/parser/parser_task.dart#newcode44 pkg/compiler/lib/src/parser/parser_task.dart:44: print("parser: $_enableConditionalDirectives"); On 2015/10/14 07:21:52, Johnni Winther wrote: > ...
5 years ago (2015-12-10 19:38:45 UTC) #11
floitsch
Committed patchset #5 (id:100001) manually as 64edfaf21af3153f32e1229dd97c9b3d40cbfb2b (presubmit successful).
5 years ago (2015-12-10 23:25:08 UTC) #13
floitsch
5 years ago (2015-12-11 05:17:20 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:140001) manually as
af4983c6b26875568516bbdb7f7a669a20ce52fa (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698