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

Issue 1707073002: Serialize and resynthesize variable initializers. (Closed)

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

Description

Serialize and resynthesize variable initializers. We need them to be able to bind back elements in DeclarationResolver in code like: var v = {'1': () => 10}; R=paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/2329db5f4ab1a002de4a449e5360a3668994804e

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fixes for review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -10 lines) Patch
M pkg/analyzer/lib/src/summary/format.dart View 1 18 chunks +60 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/summary/idl.dart View 1 3 chunks +19 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/summary/resynthesize.dart View 4 chunks +9 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/summary/summarize_ast.dart View 10 chunks +51 lines, -6 lines 0 comments Download
M pkg/analyzer/lib/src/summary/summarize_elements.dart View 1 4 chunks +16 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_test.dart View 1 2 chunks +17 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/summary_common.dart View 9 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scheglov
4 years, 10 months ago (2016-02-17 20:43:46 UTC) #1
Paul Berry
https://codereview.chromium.org/1707073002/diff/1/pkg/analyzer/lib/src/summary/idl.dart File pkg/analyzer/lib/src/summary/idl.dart (right): https://codereview.chromium.org/1707073002/diff/1/pkg/analyzer/lib/src/summary/idl.dart#newcode1364 pkg/analyzer/lib/src/summary/idl.dart:1364: @Id(10) Don't change the ids of existing getters--it messes ...
4 years, 10 months ago (2016-02-17 21:15:30 UTC) #2
scheglov
PTAL https://codereview.chromium.org/1707073002/diff/1/pkg/analyzer/lib/src/summary/idl.dart File pkg/analyzer/lib/src/summary/idl.dart (right): https://codereview.chromium.org/1707073002/diff/1/pkg/analyzer/lib/src/summary/idl.dart#newcode1364 pkg/analyzer/lib/src/summary/idl.dart:1364: @Id(10) On 2016/02/17 21:15:29, Paul Berry wrote: > ...
4 years, 10 months ago (2016-02-17 21:27:51 UTC) #3
Paul Berry
lgtm, thanks!
4 years, 10 months ago (2016-02-17 21:29:27 UTC) #4
scheglov
4 years, 10 months ago (2016-02-17 21:32:48 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2329db5f4ab1a002de4a449e5360a3668994804e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698