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

Issue 2740573002: Fix for parsing default parameters. (Closed)

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

Description

Fix for parsing default parameters. In analyzer we decide whether to create DefaultFormalParameter by the fact of being in [] or {}, not by the fact of presence of a default value. R=paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/ed289f64cd9842ff036a4464e8813b1e88b4f265

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -20 lines) Patch
M pkg/analyzer/test/generated/parser_fasta_test.dart View 3 chunks +6 lines, -16 lines 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 2 chunks +38 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart View 1 chunk +8 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
3 years, 9 months ago (2017-03-07 18:09:48 UTC) #1
Paul Berry
lgtm
3 years, 9 months ago (2017-03-07 19:29:45 UTC) #2
scheglov
3 years, 9 months ago (2017-03-07 20:20:44 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
ed289f64cd9842ff036a4464e8813b1e88b4f265 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698