Index: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
index d86c626689dffa56f5a01cdecf58f99a1baf6d0f..a00716e7d803da228ad85992f5cc8012cd0e0e0b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
@@ -1084,7 +1084,8 @@ class Dart2JsInterfaceTypeMirror extends Dart2JsTypeElementMirror |
bool get isObject => mirrors.compiler.objectClass == _type.element; |
- bool get isDynamic => mirrors.compiler.dynamicClass == _type.element; |
+ // TODO(johnniwinther): How to show malformed types? |
+ bool get isDynamic => _type.isDynamic; |
ClassMirror get originalDeclaration |
=> new Dart2JsClassMirror(mirrors, _type.element); |