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

Issue 2438113002: Fix handling of default formal parameters in DeclarationResolver. (Closed)

Created:
4 years, 2 months ago by Paul Berry
Modified:
4 years, 2 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix handling of default formal parameters in DeclarationResolver. When visiting a DefaultFormalParameter, we can't call super.visitDefaultFormalParameter, because that would cause the default value to be visited twice. R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/74d8298777edeac7cc6a714156b255ec481324f8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M pkg/analyzer/lib/src/generated/declaration_resolver.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
4 years, 2 months ago (2016-10-20 19:19:55 UTC) #2
Brian Wilkerson
lgtm
4 years, 2 months ago (2016-10-20 19:23:30 UTC) #3
Paul Berry
4 years, 2 months ago (2016-10-20 19:34:22 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
74d8298777edeac7cc6a714156b255ec481324f8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698