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

Unified Diff: pkg/observe/lib/src/observable_box.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/observable_box.dart
diff --git a/pkg/observe/lib/src/observable_box.dart b/pkg/observe/lib/src/observable_box.dart
index 4d55e75a85d9aa9ac35539748ca4940061986498..1bdf4cced3fcc70b68ffd7ec77b2aaec33649943 100644
--- a/pkg/observe/lib/src/observable_box.dart
+++ b/pkg/observe/lib/src/observable_box.dart
@@ -17,9 +17,9 @@ class ObservableBox<T> extends ChangeNotifierBase {
ObservableBox([T initialValue]) : _value = initialValue;
- T get value => _value;
+ @reflectable T get value => _value;
- void set value(T newValue) {
+ @reflectable void set value(T newValue) {
_value = notifyPropertyChange(#value, _value, newValue);
}

Powered by Google App Engine
This is Rietveld 408576698