| Index: sdk/lib/_internal/lib/js_mirrors.dart
|
| diff --git a/sdk/lib/_internal/lib/js_mirrors.dart b/sdk/lib/_internal/lib/js_mirrors.dart
|
| index 22e12326a771fbd6e1bf1d18719b6847a668cc20..4b46cb21c990321c060762188845559effa11e2e 100644
|
| --- a/sdk/lib/_internal/lib/js_mirrors.dart
|
| +++ b/sdk/lib/_internal/lib/js_mirrors.dart
|
| @@ -1920,13 +1920,14 @@ class JsClassMirror extends JsTypeMirror with JsObjectMirror
|
|
|
| bool get isAbstract => throw new UnimplementedError();
|
|
|
| - bool isSubclassOf(JsClassMirror other) {
|
| + bool isSubclassOf(ClassMirror other) {
|
| if (other is! ClassMirror) {
|
| throw new ArgumentError(other);
|
| }
|
| if (other is JsFunctionTypeMirror) {
|
| return false;
|
| - } if (JS('bool', '# == #', other._jsConstructor, _jsConstructor)) {
|
| + } if (other is JsClassMirror &&
|
| + JS('bool', '# == #', other._jsConstructor, _jsConstructor)) {
|
| return true;
|
| } else if (superclass == null) {
|
| return false;
|
|
|