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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart

Issue 19097003: Support new malformed types semantics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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: 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);

Powered by Google App Engine
This is Rietveld 408576698