Chromium Code Reviews| Index: sdk/lib/_internal/lib/js_helper.dart |
| =================================================================== |
| --- sdk/lib/_internal/lib/js_helper.dart (revision 27000) |
| +++ sdk/lib/_internal/lib/js_helper.dart (working copy) |
| @@ -175,7 +175,7 @@ |
| } |
| var method = JS('var', '#[#]', receiver, name); |
| if (JS('String', 'typeof #', method) == 'function') { |
| - if (JS('bool', '#[#] == false', method, JS_GET_NAME("REFLECTABLE"))) { |
| + if (JS('bool', '!#[#]', method, JS_GET_NAME("REFLECTABLE"))) { |
|
ahe
2013/09/02 09:46:49
String reflectableProperty = JS_GET_NAME("REFLECTA
ngeoffray
2013/09/02 09:54:08
That worked. Thanks Peter.
|
| throwInvalidReflectionError(memberName); |
| } |
| return new CachedInvocation(method, isIntercepted, interceptor); |