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

Unified Diff: pkg/observe/lib/src/compound_binding.dart

Issue 26967004: add @MirrorsUsed to observe/polymer/polymer_exprs pkgs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix typo in comment Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/observe/lib/src/compound_binding.dart
diff --git a/pkg/observe/lib/src/compound_binding.dart b/pkg/observe/lib/src/compound_binding.dart
index 4e65274dc49c8d0b0ad6885a502e475d4dcc9a08..a6195864524fd1fb39e8b00e6f543417332084cb 100644
--- a/pkg/observe/lib/src/compound_binding.dart
+++ b/pkg/observe/lib/src/compound_binding.dart
@@ -65,11 +65,11 @@ class CompoundBinding extends ChangeNotifierBase {
if (combinator != null) _scheduleResolve();
}
- get value => _value;
-
int get length => _observers.length;
- void set value(newValue) {
+ @reflectable get value => _value;
+
+ @reflectable void set value(newValue) {
_value = notifyPropertyChange(#value, _value, newValue);
}

Powered by Google App Engine
This is Rietveld 408576698