| Index: sdk/lib/_internal/lib/js_mirrors.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/lib/js_mirrors.dart (revision 27024)
|
| +++ sdk/lib/_internal/lib/js_mirrors.dart (working copy)
|
| @@ -26,6 +26,7 @@
|
| createUnmangledInvocationMirror,
|
| getMangledTypeName,
|
| throwInvalidReflectionError,
|
| + hasReflectableProperty,
|
| runtimeTypeToString;
|
| import 'dart:_interceptors' show
|
| Interceptor,
|
| @@ -1273,7 +1274,7 @@
|
| }
|
|
|
| bool canInvokeReflectively() {
|
| - return JS('bool', '#[#] != false', _jsFunction, JS_GET_NAME("REFLECTABLE"));
|
| + return hasReflectableProperty(_jsFunction);
|
| }
|
|
|
| DeclarationMirror get owner => _owner;
|
|
|