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

Issue 2968093003: Improve parsing of function expressions. (Closed)

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

Description

Improve parsing of function expressions. Fixes #29937 Fixes #29978 Fixes #29979 R=danrubel@google.com Committed: https://github.com/dart-lang/sdk/commit/99d637f5810fe6c5cae58af474c31f35864ebbc6

Patch Set 1 #

Total comments: 9

Patch Set 2 : Update status file. #

Patch Set 3 : Address Dan's comments. #

Patch Set 4 : Rebased on 2baaf0be130ea3cefeb7b0091826ce5d246a3a35 #

Patch Set 5 : Update to new message API. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -74 lines) Patch
M pkg/analyzer/lib/src/fasta/ast_builder.dart View 1 2 3 2 chunks +12 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/parser/node_listener.dart View 3 chunks +14 lines, -4 lines 0 comments Download
M pkg/front_end/lib/src/fasta/fasta_codes_generated.dart View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 2 3 3 chunks +43 lines, -14 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/listener.dart View 1 2 3 3 chunks +32 lines, -7 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/parser.dart View 1 2 3 4 7 chunks +33 lines, -30 lines 0 comments Download
M pkg/front_end/messages.yaml View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/front_end/testcases/compile.status View 2 chunks +0 lines, -3 lines 0 comments Download
A pkg/front_end/testcases/regress/issue_29937.dart.direct.expect View 1 chunk +7 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/regress/issue_29937.dart.strong.expect View 1 chunk +7 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/regress/issue_29978.dart.direct.expect View 1 chunk +9 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/regress/issue_29978.dart.strong.expect View 1 chunk +9 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/regress/issue_29979.dart.direct.expect View 1 chunk +7 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/regress/issue_29979.dart.strong.expect View 1 chunk +7 lines, -0 lines 0 comments Download
M pkg/front_end/testcases/strong.status View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M tests/co19/co19-kernel.status View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
ahe
3 years, 5 months ago (2017-07-06 15:01:32 UTC) #2
danrubel
LGTM with comments for you to address as you see fit. https://codereview.chromium.org/2968093003/diff/1/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart File pkg/analyzer/lib/src/summary/fasta/summary_builder.dart (right): ...
3 years, 5 months ago (2017-07-06 15:43:34 UTC) #3
ahe
Thank you, Dan! https://codereview.chromium.org/2968093003/diff/1/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart File pkg/analyzer/lib/src/summary/fasta/summary_builder.dart (right): https://codereview.chromium.org/2968093003/diff/1/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart#newcode374 pkg/analyzer/lib/src/summary/fasta/summary_builder.dart:374: void endFunctionExpression(Token beginToken, Token token) { ...
3 years, 5 months ago (2017-07-06 19:54:20 UTC) #4
danrubel
LGTM https://codereview.chromium.org/2968093003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2968093003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode2501 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:2501: void endFunctionExpression(Token beginToken, Token token) { On 2017/07/06 ...
3 years, 5 months ago (2017-07-06 19:58:42 UTC) #5
Paul Berry
https://codereview.chromium.org/2968093003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2968093003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode2501 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:2501: void endFunctionExpression(Token beginToken, Token token) { On 2017/07/06 19:58:42, ...
3 years, 5 months ago (2017-07-06 20:06:57 UTC) #7
ahe
Thank you for chiming in, Paul! https://codereview.chromium.org/2968093003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2968093003/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode2501 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:2501: void endFunctionExpression(Token beginToken, ...
3 years, 5 months ago (2017-07-06 20:58:53 UTC) #8
ahe
3 years, 5 months ago (2017-07-11 08:36:07 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
99d637f5810fe6c5cae58af474c31f35864ebbc6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698