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

Issue 2794013003: Re-duplicate frontend_accessors.dart. (Closed)

Created:
3 years, 8 months ago by Paul Berry
Modified:
3 years, 8 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Re-duplicate frontend_accessors.dart. This was de-duped in 02573b3caa1f13f68b5c5921b35e4e2e4ca62ab9, however there's a problem: In order to share type inference and error detection logic between Fasta's AstBuilder and BodyBuilder classes, Fasta's use of the accessors needs to be rewritten to make use of the shadow hierarchy (see pkg/front_end/lib/src/fasta/builder/shadow_ast.dart), which kernel shouldn't have to depend on. R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/80101ac4070bc5ec40765fc6c68a12fb366fe885

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+515 lines, -8 lines) Patch
M pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart View 2 chunks +1 line, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart View 2 chunks +3 lines, -4 lines 0 comments Download
A pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart View 1 chunk +509 lines, -0 lines 5 comments Download
M pkg/front_end/lib/src/fasta/names.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Paul Berry
3 years, 8 months ago (2017-04-03 20:20:34 UTC) #2
ahe
lgtm https://codereview.chromium.org/2794013003/diff/1/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart File pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart (right): https://codereview.chromium.org/2794013003/diff/1/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart#newcode10 pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart:10: final Name indexGetName = new Name("[]"); We could ...
3 years, 8 months ago (2017-04-04 09:18:50 UTC) #3
Paul Berry
https://codereview.chromium.org/2794013003/diff/1/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart File pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart (right): https://codereview.chromium.org/2794013003/diff/1/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart#newcode10 pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart:10: final Name indexGetName = new Name("[]"); On 2017/04/04 09:18:50, ...
3 years, 8 months ago (2017-04-04 16:21:10 UTC) #4
Paul Berry
https://codereview.chromium.org/2794013003/diff/1/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart File pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart (right): https://codereview.chromium.org/2794013003/diff/1/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart#newcode10 pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart:10: final Name indexGetName = new Name("[]"); On 2017/04/04 16:21:10, ...
3 years, 8 months ago (2017-04-04 17:45:20 UTC) #5
Paul Berry
3 years, 8 months ago (2017-04-04 17:48:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
80101ac4070bc5ec40765fc6c68a12fb366fe885 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698