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 20a598acca43337cbd57c19c0dcd216e3e8dcdbc..75c1d44618a431036e3284cd3e632b1743216ed2 100644 |
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
@@ -825,9 +825,9 @@ class Dart2JsClassMirror extends Dart2JsContainerMirror |
return list; |
} |
- bool get isClass => !_class.isInterface(); |
+ bool get isClass => true; |
- bool get isInterface => _class.isInterface(); |
+ bool get isInterface => false; |
bool get isAbstract => _class.modifiers.isAbstract(); |
@@ -854,9 +854,6 @@ class Dart2JsClassMirror extends Dart2JsContainerMirror |
* Returns the default type for this interface. |
*/ |
ClassMirror get defaultFactory { |
- if (_class.defaultClass != null) { |
- return new Dart2JsInterfaceTypeMirror(mirrors, _class.defaultClass); |
- } |
return null; |
} |