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

Issue 1526243002: Introduce code to resynthesize element models from summaries. (Closed)

Created:
5 years ago by Paul Berry
Modified:
5 years ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce code to resynthesize element models from summaries. A lot of work remains to do (see TODO comments), but the basic infrastructure is now in place. R=brianwilkerson@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/ea7e6b29edc9231824e82f0bca170a92cdc97bd3

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+2081 lines, -184 lines) Patch
M pkg/analyzer/lib/dart/element/element.dart View 2 chunks +9 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/element.dart View 4 chunks +9 lines, -6 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/type.dart View 2 chunks +16 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/element_handle.dart View 24 chunks +87 lines, -116 lines 0 comments Download
A pkg/analyzer/lib/src/summary/resynthesize.dart View 1 chunk +941 lines, -0 lines 8 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 24 chunks +36 lines, -55 lines 0 comments Download
A pkg/analyzer/test/src/summary/resynthesize_test.dart View 1 chunk +969 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/summary_test.dart View 1 chunk +14 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Paul Berry
5 years ago (2015-12-15 22:51:26 UTC) #2
Brian Wilkerson
LGTM https://codereview.chromium.org/1526243002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1526243002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode250 pkg/analyzer/lib/src/summary/resynthesize.dart:250: classElement = new ClassElementImpl(serializedClass.name, -1); Unless I'm missing ...
5 years ago (2015-12-16 00:29:07 UTC) #3
scheglov
LGTM https://codereview.chromium.org/1526243002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1526243002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode148 pkg/analyzer/lib/src/summary/resynthesize.dart:148: Element element = libraryMap[location.components[1]] Can this expression be ...
5 years ago (2015-12-16 01:46:49 UTC) #4
Paul Berry
https://codereview.chromium.org/1526243002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1526243002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode148 pkg/analyzer/lib/src/summary/resynthesize.dart:148: Element element = libraryMap[location.components[1]] On 2015/12/16 01:46:49, scheglov wrote: ...
5 years ago (2015-12-16 16:34:20 UTC) #5
Paul Berry
5 years ago (2015-12-16 16:40:03 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
ea7e6b29edc9231824e82f0bca170a92cdc97bd3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698