diff --git a/js/js.parser/src/com/google/gwt/dev/js/JsParser.java b/js/js.parser/src/com/google/gwt/dev/js/JsParser.java index 03feb35e048..353bd2edf9b 100644 --- a/js/js.parser/src/com/google/gwt/dev/js/JsParser.java +++ b/js/js.parser/src/com/google/gwt/dev/js/JsParser.java @@ -618,7 +618,7 @@ public class JsParser { // Create it, and set the params. // - JsFunction toFn = new JsFunction(getScope()); + JsFunction toFn = new JsFunction(getScope(), "jsCode"); // Creating a function also creates a new scope, which we push onto // the scope stack.