| Index: pkg/observe/lib/src/observable.dart
|
| ===================================================================
|
| --- pkg/observe/lib/src/observable.dart (revision 30026)
|
| +++ pkg/observe/lib/src/observable.dart (working copy)
|
| @@ -82,8 +82,11 @@
|
| // actually includes this mixin. While perhaps too inclusive, it lets us
|
| // avoid complex logic that walks "with" and "implements" clauses.
|
| for (var type = mirror.type; type != objectType; type = type.superclass) {
|
| - for (var field in type.variables.values) {
|
| - if (field.isFinal || field.isStatic || field.isPrivate) continue;
|
| + for (var field in type.declarations.values) {
|
| + if (field is! VariableMirror ||
|
| + field.isFinal ||
|
| + field.isStatic ||
|
| + field.isPrivate) continue;
|
|
|
| for (var meta in field.metadata) {
|
| if (meta.reflectee is ObservableProperty) {
|
|
|