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

Issue 1606283003: Modify summary codegen so that builder getters return builders. (Closed)

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

Description

Modify summary codegen so that builder getters return builders. This should allow more flexibility in the code that creates summaries, since it will be possible to things like: FooBuilder foo = new FooBuilder(bar: new BarBuilder); foo.bar.baz = ...; (Previously this would have been disallowed because foo.bar would have returned a `Foo` rather than a `FooBuilder`, and the `Foo` class doesn't have a setter for `baz`). R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/5e27219e9a2db72145be28edf9f754e25c6d0e3b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Improve behavior of defaults #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -143 lines) Patch
M pkg/analyzer/lib/src/summary/format.dart View 1 133 chunks +133 lines, -133 lines 0 comments Download
M pkg/analyzer/tool/summary/generate.dart View 1 5 chunks +21 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
4 years, 11 months ago (2016-01-20 16:52:23 UTC) #2
scheglov
https://codereview.chromium.org/1606283003/diff/1/pkg/analyzer/lib/src/summary/format.dart File pkg/analyzer/lib/src/summary/format.dart (right): https://codereview.chromium.org/1606283003/diff/1/pkg/analyzer/lib/src/summary/format.dart#newcode441 pkg/analyzer/lib/src/summary/format.dart:441: List<LinkedUnitBuilder> get units => _units ?? const <LinkedUnit>[]; Should ...
4 years, 11 months ago (2016-01-20 17:13:06 UTC) #3
Paul Berry
https://codereview.chromium.org/1606283003/diff/1/pkg/analyzer/lib/src/summary/format.dart File pkg/analyzer/lib/src/summary/format.dart (right): https://codereview.chromium.org/1606283003/diff/1/pkg/analyzer/lib/src/summary/format.dart#newcode441 pkg/analyzer/lib/src/summary/format.dart:441: List<LinkedUnitBuilder> get units => _units ?? const <LinkedUnit>[]; On ...
4 years, 11 months ago (2016-01-20 17:31:01 UTC) #4
Paul Berry
PTAL
4 years, 11 months ago (2016-01-21 17:23:34 UTC) #5
scheglov
LGTM
4 years, 11 months ago (2016-01-21 17:25:40 UTC) #6
Paul Berry
4 years, 11 months ago (2016-01-21 19:26:58 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5e27219e9a2db72145be28edf9f754e25c6d0e3b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698