| Index: pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart
|
| diff --git a/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart b/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart
|
| index 151affbd2e74579409b971e17267776afe50426a..6c985d79c0e830447fad5f0e16ff962a5dc0013e 100644
|
| --- a/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart
|
| +++ b/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart
|
| @@ -147,6 +147,9 @@ dynamic _unwrap(obj) => JS('', '#.unwrapType(#)', _dart, obj);
|
|
|
| dynamic _wrap(obj) => JS('', '#.wrapType(#)', _dart, obj);
|
|
|
| +dynamic _runtimeType(obj) =>
|
| + _wrap(JS('', '#.getReifiedType(#)', _dart, obj));
|
| +
|
| _unimplemented(Type t, Invocation i) {
|
| throw new UnimplementedError('$t.${getName(i.memberName)} unimplemented');
|
| }
|
| @@ -190,7 +193,7 @@ class JsInstanceMirror extends JsObjectMirror implements InstanceMirror {
|
| // The spec guarantees that `null` is the singleton instance of the `Null`
|
| // class.
|
| if (reflectee == null) return reflectClass(Null);
|
| - return reflectType(reflectee.runtimeType);
|
| + return reflectType(_runtimeType(reflectee));
|
| }
|
|
|
| JsInstanceMirror._(this.reflectee);
|
|
|