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

Issue 1125613003: Make sure to visit function annotations in ElementBuilder. (Closed)

Created:
5 years, 7 months ago by Paul Berry
Modified:
5 years, 7 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Make sure to visit function annotations in ElementBuilder. Since r44861, ElementBuilder is responsible for creating the ConstantInstanceCreationHandle objects associated with InstanceCreationExpressions. Since InstanceCreationExpressions may appear inside annotations, we must make sure the ElementBuilder visits all annotations. Previous to this change, it didn't visit function annotations. BUG=dartbug.com/23354 R=scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=45489

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -1 line) Patch
M pkg/analyzer/lib/src/generated/resolver.dart View 2 chunks +6 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/non_error_resolver_test.dart View 1 chunk +17 lines, -0 lines 0 comments Download
A tests/language/instance_creation_in_function_annotation_test.dart View 1 chunk +29 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Paul Berry
5 years, 7 months ago (2015-05-03 20:16:51 UTC) #2
scheglov
LGTM
5 years, 7 months ago (2015-05-03 20:33:20 UTC) #3
Paul Berry
5 years, 7 months ago (2015-05-04 13:25:19 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 45489 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698