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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 12615002: Remove references to capital-D-Dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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: runtime/lib/mirrors_impl.dart
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart
index d8c78e12bdbb34af710de83e3d7e8c006c528906..6de72055ccc5bcd86e1830978c21f71182d88f0c 100644
--- a/runtime/lib/mirrors_impl.dart
+++ b/runtime/lib/mirrors_impl.dart
@@ -56,7 +56,7 @@ class _LocalMirrorSystemImpl implements MirrorSystem {
if (_dynamicType == null) {
_dynamicType =
new _LocalClassMirrorImpl(
- null, 'Dynamic', false, null, null, [], null,
+ null, 'dynamic', false, null, null, [], null,
const {}, const {}, const {});
}
return _dynamicType;
@@ -340,8 +340,7 @@ class _LazyTypeMirror {
TypeMirror resolve(MirrorSystem mirrors) {
if (libraryName == null) {
- // TODO(turnidge): Remove support for 'Dynamic'.
- if ((typeName == 'dynamic') || (typeName == 'Dynamic')) {
+ if (typeName == 'dynamic') {
return mirrors.dynamicType;
} else if (typeName == 'void') {
return mirrors.voidType;
@@ -385,7 +384,7 @@ class _LocalClassMirrorImpl extends _LocalObjectMirrorImpl
}
} else {
// The owner of a ClassMirror is null in certain odd cases, like
- // 'void', 'Dynamic' and function type mirrors.
+ // 'void', 'dynamic' and function type mirrors.
_qualifiedName = simpleName;
}
return _qualifiedName;
« no previous file with comments | « no previous file | runtime/tests/vm/dart/isolate_mirror_local_test.dart » ('j') | sdk/lib/_internal/dartdoc/lib/dartdoc.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698