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

Issue 207433002: Changes in polymer-expressions to prepare for codegen in polymer: (Closed)

Created:
6 years, 9 months ago by Siggi Cherem (dart-lang)
Modified:
6 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Changes in polymer-expressions to prepare for codegen in polymer: - change scopes to have either variable or model, but not both - change lookup to aggressively read from the model, and not use hasGetter - trap all errors (not just eval errors), so that rendering is smooth. - change error reporting to fire an async error. Now there is no need for using logger/registering the logger. - fix test in polymer that apparently was swalling an error in dart2js-minified. This fix wont be needed once we have codegen. R=jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=34283

Patch Set 1 : #

Total comments: 24

Patch Set 2 : address John's comments #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -134 lines) Patch
M pkg/polymer/lib/src/instance.dart View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M pkg/polymer/test/prop_attr_bind_reflection_test.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
A pkg/polymer_expressions/CHANGELOG.md View 1 chunk +18 lines, -0 lines 0 comments Download
M pkg/polymer_expressions/example/example.dart View 1 chunk +0 lines, -5 lines 0 comments Download
M pkg/polymer_expressions/lib/eval.dart View 1 3 chunks +112 lines, -65 lines 0 comments Download
M pkg/polymer_expressions/lib/polymer_expressions.dart View 1 7 chunks +16 lines, -19 lines 0 comments Download
M pkg/polymer_expressions/lib/visitor.dart View 5 chunks +27 lines, -6 lines 0 comments Download
M pkg/polymer_expressions/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer_expressions/test/bindings_test.dart View 4 chunks +12 lines, -15 lines 0 comments Download
M pkg/polymer_expressions/test/eval_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/polymer_expressions/test/syntax_test.dart View 3 chunks +13 lines, -17 lines 0 comments Download
M pkg/polymer_expressions/test/visitor_test.dart View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Siggi Cherem (dart-lang)
https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart File pkg/polymer/test/prop_attr_bind_reflection_test.dart (right): https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart#newcode15 pkg/polymer/test/prop_attr_bind_reflection_test.dart:15: @reflectable get attributes => super.attributes; this turned out to ...
6 years, 9 months ago (2014-03-21 01:43:45 UTC) #1
Jennifer Messerly
Neat stuff. Smoke is getting close! https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart File pkg/polymer/test/prop_attr_bind_reflection_test.dart (right): https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart#newcode15 pkg/polymer/test/prop_attr_bind_reflection_test.dart:15: @reflectable get attributes ...
6 years, 9 months ago (2014-03-21 20:08:53 UTC) #2
Siggi Cherem (dart-lang)
Thanks John. PTAL https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart File pkg/polymer/test/prop_attr_bind_reflection_test.dart (right): https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart#newcode15 pkg/polymer/test/prop_attr_bind_reflection_test.dart:15: @reflectable get attributes => super.attributes; On ...
6 years, 9 months ago (2014-03-21 21:09:46 UTC) #3
Jennifer Messerly
lgtm https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart File pkg/polymer/test/prop_attr_bind_reflection_test.dart (right): https://codereview.chromium.org/207433002/diff/80001/pkg/polymer/test/prop_attr_bind_reflection_test.dart#newcode15 pkg/polymer/test/prop_attr_bind_reflection_test.dart:15: @reflectable get attributes => super.attributes; On 2014/03/21 21:09:47, ...
6 years, 9 months ago (2014-03-22 00:37:55 UTC) #4
Siggi Cherem (dart-lang)
thanks! https://codereview.chromium.org/207433002/diff/100001/pkg/polymer/lib/src/instance.dart File pkg/polymer/lib/src/instance.dart (right): https://codereview.chromium.org/207433002/diff/100001/pkg/polymer/lib/src/instance.dart#newcode972 pkg/polymer/lib/src/instance.dart:972: PolymerExpressionsWithEventDelegate({Map<String, Object> globals}) On 2014/03/22 00:37:56, John Messerly ...
6 years, 9 months ago (2014-03-22 00:57:42 UTC) #5
Siggi Cherem (dart-lang)
6 years, 9 months ago (2014-03-22 00:58:15 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r34283 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698