Index: dart/pkg/polymer_expressions/lib/src/mirrors.dart |
diff --git a/dart/pkg/polymer_expressions/lib/src/mirrors.dart b/dart/pkg/polymer_expressions/lib/src/mirrors.dart |
index 62cf2938a0f54362af8a923e37eff7940a10dea2..f46ee6ece767bba2284ea193c9dc2b9f52a2dc50 100644 |
--- a/dart/pkg/polymer_expressions/lib/src/mirrors.dart |
+++ b/dart/pkg/polymer_expressions/lib/src/mirrors.dart |
@@ -18,8 +18,8 @@ import 'dart:mirrors'; |
* noSuchMethod(). |
*/ |
Mirror getMemberMirror(ClassMirror classMirror, Symbol name) { |
- if (classMirror.members.containsKey(name)) { |
- return classMirror.members[name]; |
+ if (classMirror.declarations.containsKey(name)) { |
+ return classMirror.declarations[name]; |
} |
if (hasSuperclass(classMirror)) { |
var mirror = getMemberMirror(classMirror.superclass, name); |