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

Issue 1703133002: Set FunctionTypeImpl for synthetic VariableElement.initializer elements. (Closed)

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

Description

Set FunctionTypeImpl for synthetic VariableElement.initializer elements. I'd like to serialize initializer functions with their locals, but as it is not, FunctionElement is incomplete and causes NPE. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/161accb68a913f41fd2d9aa4fcae81fa6bb4b63e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M pkg/analyzer/lib/src/dart/element/builder.dart View 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/generated/all_the_rest_test.dart View 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 10 months ago (2016-02-17 18:46:59 UTC) #1
Brian Wilkerson
LGTM
4 years, 10 months ago (2016-02-17 18:56:12 UTC) #2
scheglov
4 years, 10 months ago (2016-02-17 19:00:27 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
161accb68a913f41fd2d9aa4fcae81fa6bb4b63e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698