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 2e99d2ad64efb955d0391787291305a34f87be4d..f269881e051da2223274261f5330c44b738be676 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart |
@@ -341,7 +341,7 @@ class JsClassMirror extends JsMirror implements ClassMirror { |
// Only get metadata directly embedded on this class, not its |
// superclasses. |
var fn = JS( |
- 'Function', |
+ 'Function|Null', |
'Object.hasOwnProperty.call(#, dart.metadata) ? #[dart.metadata] : null', |
unwrapped, |
unwrapped); |