Index: sdk/lib/js/dartium/js_dartium.dart |
diff --git a/sdk/lib/js/dartium/js_dartium.dart b/sdk/lib/js/dartium/js_dartium.dart |
index 8d0b248e4a54097b78e4f4950afc734ab5fd1139..4d1d6825b58e38abab6547af9af78e91ef51efc2 100644 |
--- a/sdk/lib/js/dartium/js_dartium.dart |
+++ b/sdk/lib/js/dartium/js_dartium.dart |
@@ -1528,7 +1528,7 @@ Function _wrapAsDebuggerVarArgsFunction(JsFunction jsFunction) => ( |
/// JavaScript. We may remove the need to call this method completely in the |
/// future if Dart2Js is refactored so that its function calling conventions |
/// are more compatible with JavaScript. |
-JSFunction allowInterop(Function f) { |
+Function /*=F*/ allowInterop/*<F extends Function>*/(Function /*=F*/ f) { |
if (f is JSFunction) { |
// The function is already a JSFunction... no need to do anything. |
return f; |