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..61422e0cf046c4c0820cbade9c235f785cf2054d 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; |
karlklose
2013/07/19 11:45:40
Space after arrow.
Johnni Winther
2013/07/29 09:59:48
Done.
|
ClassMirror get originalDeclaration |
=> new Dart2JsClassMirror(mirrors, _type.element); |