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

Issue 3001993002: improve fasta export directive recovery (Closed)

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

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : move token rewriter back into parser #

Patch Set 3 : rebase and cleanup #

Total comments: 2

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -22 lines) Patch
M pkg/analyzer/lib/src/fasta/ast_builder.dart View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M pkg/analyzer/test/generated/parser_fasta_listener.dart View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M pkg/analyzer/test/generated/parser_fasta_test.dart View 1 2 3 5 chunks +11 lines, -11 lines 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/parser/element_listener.dart View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/parser.dart View 1 2 3 8 chunks +58 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
danrubel
3 years, 4 months ago (2017-08-20 22:02:29 UTC) #2
ahe
I would like to discuss this in person. https://codereview.chromium.org/3001993002/diff/1/pkg/front_end/lib/src/fasta/parser/parser.dart File pkg/front_end/lib/src/fasta/parser/parser.dart (right): https://codereview.chromium.org/3001993002/diff/1/pkg/front_end/lib/src/fasta/parser/parser.dart#newcode1927 pkg/front_end/lib/src/fasta/parser/parser.dart:1927: if ...
3 years, 4 months ago (2017-08-21 12:51:37 UTC) #3
danrubel
https://codereview.chromium.org/3001993002/diff/1/pkg/front_end/lib/src/fasta/parser/parser.dart File pkg/front_end/lib/src/fasta/parser/parser.dart (right): https://codereview.chromium.org/3001993002/diff/1/pkg/front_end/lib/src/fasta/parser/parser.dart#newcode1927 pkg/front_end/lib/src/fasta/parser/parser.dart:1927: if (!identical(token.kind, STRING_TOKEN)) { On 2017/08/21 12:51:37, ahe wrote: ...
3 years, 4 months ago (2017-08-21 14:51:02 UTC) #4
danrubel
Revised as per discussion. PTAL.
3 years, 4 months ago (2017-08-22 11:39:58 UTC) #5
ahe
lgtm https://codereview.chromium.org/3001993002/diff/40001/pkg/compiler/lib/src/parser/element_listener.dart File pkg/compiler/lib/src/parser/element_listener.dart (right): https://codereview.chromium.org/3001993002/diff/40001/pkg/compiler/lib/src/parser/element_listener.dart#newcode547 pkg/compiler/lib/src/parser/element_listener.dart:547: // TODO(danrubel) This functionality is being replaced by ...
3 years, 4 months ago (2017-08-22 12:27:00 UTC) #6
ahe
FWIW, I'm uneasy about having these additional fields in the parser. But moving them to ...
3 years, 4 months ago (2017-08-22 12:28:12 UTC) #7
danrubel
Committed patchset #4 (id:60001) manually as 69e9106ead586f70303b15532cec374c7806f15d (presubmit successful).
3 years, 4 months ago (2017-08-22 20:52:31 UTC) #9
danrubel
3 years, 3 months ago (2017-08-25 15:30:18 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/3001993002/diff/40001/pkg/compiler/lib/src/pa...
File pkg/compiler/lib/src/parser/element_listener.dart (right):

https://codereview.chromium.org/3001993002/diff/40001/pkg/compiler/lib/src/pa...
pkg/compiler/lib/src/parser/element_listener.dart:547: // TODO(danrubel) This
functionality is being replaced by
On 2017/08/22 12:27:00, ahe wrote:
> Add colon after "(danrubel)".

Fixed in https://codereview.chromium.org/3003263002/

Powered by Google App Engine
This is Rietveld 408576698