Index: runtime/lib/mirrors_impl.dart |
=================================================================== |
--- runtime/lib/mirrors_impl.dart (revision 13630) |
+++ runtime/lib/mirrors_impl.dart (working copy) |
@@ -339,7 +339,8 @@ |
TypeMirror resolve(MirrorSystem mirrors) { |
if (libraryName == null) { |
- if (typeName == 'Dynamic') { |
+ // TODO(turnidge): Remove support for 'Dynamic'. |
+ if ((typeName == 'dynamic') || (typeName == 'Dynamic')) { |
return mirrors.dynamicType; |
} else if (typeName == 'void') { |
return mirrors.voidType; |