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

Issue 2983773002: Resynthesize expressions for Kernel's StaticGet and PropertyGet. (Closed)

Created:
3 years, 5 months ago by scheglov
Modified:
3 years, 5 months ago
Reviewers:
Paul Berry
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Resynthesize expressions for Kernel's StaticGet and PropertyGet. Note, that we don't restore the original AST for StaticGet(s). The original AST is not available in Kernel. Instead we generate simple identifiers with correct elements. It should be enough to compute constant values, although some clients might have to adapt to the change. R=paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/9d5a249ed395a45ef4855f0942043e68434ff44e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resynthesize ClassName.StaticElement for Kernel. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -45 lines) Patch
M pkg/analyzer/lib/src/dart/element/element.dart View 3 chunks +15 lines, -5 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_common.dart View 1 3 chunks +23 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart View 1 13 chunks +129 lines, -38 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scheglov
3 years, 5 months ago (2017-07-18 17:20:26 UTC) #1
Paul Berry
https://codereview.chromium.org/2983773002/diff/1/pkg/analyzer/test/src/summary/resynthesize_common.dart File pkg/analyzer/test/src/summary/resynthesize_common.dart (right): https://codereview.chromium.org/2983773002/diff/1/pkg/analyzer/test/src/summary/resynthesize_common.dart#newcode3613 pkg/analyzer/test/src/summary/resynthesize_common.dart:3613: F/*location: test.dart;C;F?*/. I'm ok with not resynthesizing identifiers associated ...
3 years, 5 months ago (2017-07-18 18:00:14 UTC) #2
scheglov
PTAL https://codereview.chromium.org/2983773002/diff/1/pkg/analyzer/test/src/summary/resynthesize_common.dart File pkg/analyzer/test/src/summary/resynthesize_common.dart (right): https://codereview.chromium.org/2983773002/diff/1/pkg/analyzer/test/src/summary/resynthesize_common.dart#newcode3613 pkg/analyzer/test/src/summary/resynthesize_common.dart:3613: F/*location: test.dart;C;F?*/. On 2017/07/18 18:00:14, Paul Berry wrote: ...
3 years, 5 months ago (2017-07-18 19:01:12 UTC) #3
Paul Berry
lgtm
3 years, 5 months ago (2017-07-18 19:35:42 UTC) #4
scheglov
3 years, 5 months ago (2017-07-18 20:09:22 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
9d5a249ed395a45ef4855f0942043e68434ff44e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698