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

Issue 2829843002: MethodElementImpl.getReifiedType() should always create new parameter elements. (Closed)

Created:
3 years, 8 months ago by scheglov
Modified:
3 years, 8 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

MethodElementImpl.getReifiedType() should always create new parameter elements. If we don't, and we transplant any of them into a new detached instance of synthetic FunctionElementImpl, they are not able to access later enclosingUnit in order to resynthesize their type. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/a73c8d0de14d003ec02250b55f09505891edf375

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -10 lines) Patch
M pkg/analyzer/lib/src/dart/element/element.dart View 1 chunk +9 lines, -10 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
3 years, 8 months ago (2017-04-19 21:59:53 UTC) #1
Brian Wilkerson
lgtm
3 years, 8 months ago (2017-04-19 22:14:43 UTC) #2
scheglov
3 years, 8 months ago (2017-04-19 23:36:41 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
a73c8d0de14d003ec02250b55f09505891edf375 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698