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

Issue 3008763002: Store actual Reference(s) for additional exports. (Closed)

Created:
3 years, 3 months ago by scheglov
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 15

Patch Set 2 : Updates for review comments. #

Total comments: 2

Patch Set 3 : Get existing Builder(s) for NamedNode(s). #

Total comments: 6

Patch Set 4 : Fixes for review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -128 lines) Patch
M pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart View 1 2 3 5 chunks +28 lines, -37 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart View 1 2 3 2 chunks +1 line, -6 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_library_builder.dart View 1 2 3 5 chunks +7 lines, -18 lines 0 comments Download
D pkg/front_end/test/fasta/ambiguous_export_test.dart View 1 chunk +0 lines, -41 lines 0 comments Download
M pkg/front_end/test/src/incremental/kernel_driver_test.dart View 1 chunk +21 lines, -5 lines 0 comments Download
M pkg/front_end/testcases/ambiguous_exports.dart.direct.expect View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/ambiguous_exports.dart.outline.expect View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/ambiguous_exports.dart.strong.expect View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/export_main.dart.direct.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/export_main.dart.outline.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/export_main.dart.strong.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/export_test.dart.direct.expect View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/testcases/export_test.dart.outline.expect View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/front_end/testcases/export_test.dart.strong.expect View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/testcases/rasta/export.dart.direct.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/rasta/export.dart.outline.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/rasta/export.dart.strong.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/kernel/binary.md View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M pkg/kernel/lib/binary/ast_to_binary.dart View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M pkg/kernel/lib/binary/limited_ast_to_binary.dart View 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/kernel/lib/import_table.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M pkg/kernel/lib/text/ast_to_text.dart View 1 1 chunk +28 lines, -0 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
scheglov
3 years, 3 months ago (2017-08-29 04:47:12 UTC) #1
jensj
DBC: Please remember to update binary.md.
3 years, 3 months ago (2017-08-29 06:58:32 UTC) #3
ahe
Please coordinate this with Kevin and me by setting up a GVC. https://codereview.chromium.org/3008763002/diff/1/pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart File pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart ...
3 years, 3 months ago (2017-08-29 11:04:23 UTC) #4
scheglov
What time (Pacific TZ) is OK to GVC for you? My guess is that it ...
3 years, 3 months ago (2017-08-29 15:16:26 UTC) #5
scheglov
PTAL https://codereview.chromium.org/3008763002/diff/1/pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart File pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart (right): https://codereview.chromium.org/3008763002/diff/1/pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart#newcode135 pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart:135: node.name, new DillClassBuilder(node, this)); On 2017/08/29 15:16:26, scheglov ...
3 years, 3 months ago (2017-08-29 16:56:57 UTC) #6
ahe
If we agree on the general principle I mention below, I think you can move ...
3 years, 3 months ago (2017-08-30 14:24:52 UTC) #7
ahe
lgtm
3 years, 3 months ago (2017-08-30 16:18:53 UTC) #8
scheglov
Committed patchset #4 (id:60001) manually as 234c4a7f493e1fc3dafc393472e39163ac2ad783 (presubmit successful).
3 years, 3 months ago (2017-08-30 16:56:28 UTC) #10
scheglov
3 years, 3 months ago (2017-08-30 16:56:50 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/3008763002/diff/40001/pkg/front_end/lib/src/f...
File pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart (right):

https://codereview.chromium.org/3008763002/diff/40001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart:9: import
'package:kernel/ast.dart';
On 2017/08/30 14:24:52, ahe wrote:
> Remove the second import of kernel/ast.dart.

Done.

https://codereview.chromium.org/3008763002/diff/40001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart:39: /// References to
nodes exported by the `export` directives, don't conflict
On 2017/08/30 14:24:52, ahe wrote:
> Consider this:
> 
> /// References to nodes exported by `export` declarations that:
> /// - aren't ambiguous, or
> /// - aren't hidden by local declarations.

Done.

https://codereview.chromium.org/3008763002/diff/40001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart:139: Builder builder
= library.exportScopeBuilder[name];
On 2017/08/30 14:24:52, ahe wrote:
> assert(node == builder.target);

Done.

Powered by Google App Engine
This is Rietveld 408576698