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

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

Issue 26734004: use symbol literals instead of const ctor in packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « pkg/observe/lib/src/list_path_observer.dart ('k') | pkg/observe/lib/src/observable_list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6459d0476121b206d243d991a76da2cd41373e40..4d55e75a85d9aa9ac35539748ca4940061986498 100644
--- a/pkg/observe/lib/src/observable_box.dart
+++ b/pkg/observe/lib/src/observable_box.dart
@@ -20,7 +20,7 @@ class ObservableBox<T> extends ChangeNotifierBase {
T get value => _value;
void set value(T newValue) {
- _value = notifyPropertyChange(const Symbol('value'), _value, newValue);
+ _value = notifyPropertyChange(#value, _value, newValue);
}
String toString() => '#<$runtimeType value: $value>';
« no previous file with comments | « pkg/observe/lib/src/list_path_observer.dart ('k') | pkg/observe/lib/src/observable_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698