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

Issue 1115993005: Clone AST nodes of default formal parameters prior to constant evaluation. (Closed)

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

Description

Clone AST nodes of default formal parameters prior to constant evaluation. We need to clone these nodes for the same reason we need to clone the nodes for constant variables--because once constant evaluation is moved into the new task model, we will not necessarily have access to the AST at the time we need to evaluate these constants (they may be depended upon by constant invocation expressions in other libraries). R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=45568

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -7 lines) Patch
M pkg/analyzer/lib/src/generated/constant.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/generated/element.dart View 3 chunks +4 lines, -3 lines 3 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 2 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
Paul Berry
5 years, 7 months ago (2015-05-05 22:25:29 UTC) #2
Brian Wilkerson
LGTM https://codereview.chromium.org/1115993005/diff/1/pkg/analyzer/lib/src/generated/element.dart File pkg/analyzer/lib/src/generated/element.dart (right): https://codereview.chromium.org/1115993005/diff/1/pkg/analyzer/lib/src/generated/element.dart#newcode2068 pkg/analyzer/lib/src/generated/element.dart:2068: extends FieldFormalParameterElementImpl with ConstVariableElement { I can't check ...
5 years, 7 months ago (2015-05-05 22:43:02 UTC) #3
Paul Berry
https://codereview.chromium.org/1115993005/diff/1/pkg/analyzer/lib/src/generated/element.dart File pkg/analyzer/lib/src/generated/element.dart (right): https://codereview.chromium.org/1115993005/diff/1/pkg/analyzer/lib/src/generated/element.dart#newcode2068 pkg/analyzer/lib/src/generated/element.dart:2068: extends FieldFormalParameterElementImpl with ConstVariableElement { On 2015/05/05 22:43:02, Brian ...
5 years, 7 months ago (2015-05-06 15:35:14 UTC) #4
Brian Wilkerson
https://codereview.chromium.org/1115993005/diff/1/pkg/analyzer/lib/src/generated/element.dart File pkg/analyzer/lib/src/generated/element.dart (right): https://codereview.chromium.org/1115993005/diff/1/pkg/analyzer/lib/src/generated/element.dart#newcode2068 pkg/analyzer/lib/src/generated/element.dart:2068: extends FieldFormalParameterElementImpl with ConstVariableElement { Given that ConstVariableElement and ...
5 years, 7 months ago (2015-05-06 15:46:07 UTC) #5
Paul Berry
5 years, 7 months ago (2015-05-06 15:51:47 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 45568 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698