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

Issue 1683813005: Fix summarization of generic redirecting constructors (again). (Closed)

Created:
4 years, 10 months ago by Paul Berry
Modified:
4 years, 10 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix summarization of generic redirecting constructors (again). In the previous fix (4b5d30abba9d1082c8bc70ffa5255ae6ef9b52d0) I neglected to account for the fact that ConstructorElement.redirectedConstructor is sometimes a ConstructorMember, not a ConstructorElementImpl. Fixing this required properly storing the redirected constructor's type arguments in the summary. R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/1f4d5390b91ef6b133f9f7401509844e736974cd

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -27 lines) Patch
M pkg/analyzer/lib/src/summary/format.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/summary/idl.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/summary/resynthesize.dart View 3 chunks +30 lines, -9 lines 2 comments Download
M pkg/analyzer/lib/src/summary/summarize_elements.dart View 3 chunks +12 lines, -8 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_test.dart View 1 chunk +34 lines, -6 lines 0 comments Download
M pkg/analyzer/test/src/summary/summary_common.dart View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Paul Berry
4 years, 10 months ago (2016-02-10 20:23:02 UTC) #2
scheglov
LGTM https://codereview.chromium.org/1683813005/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1683813005/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode587 pkg/analyzer/lib/src/summary/resynthesize.dart:587: * [_definingType], [displayName], [enclosingElement] and [name] can be ...
4 years, 10 months ago (2016-02-10 20:37:53 UTC) #3
Paul Berry
https://codereview.chromium.org/1683813005/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1683813005/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode587 pkg/analyzer/lib/src/summary/resynthesize.dart:587: * [_definingType], [displayName], [enclosingElement] and [name] can be used ...
4 years, 10 months ago (2016-02-10 20:54:36 UTC) #4
Paul Berry
4 years, 10 months ago (2016-02-10 20:55:16 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1f4d5390b91ef6b133f9f7401509844e736974cd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698