Pin synthesizd closure constructor to initial fragment

Change-Id: If6abd321f788d51d112c419b844ceb872bb22576
diff --git a/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java b/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java
index 226ec2e..06f1dca 100644
--- a/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java
+++ b/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java
@@ -2193,7 +2193,8 @@
       JsName classVar = topScope.declareName(JjsUtils.mangledNameString(x));
       JsFunction closureCtor = JsUtils.createEmptyFunctionLiteral(sourceInfo, topScope, classVar);
       JsExprStmt statement = closureCtor.makeStmt();
-      addTypeDefinitionStatement(x, statement);
+      // This synthetic statement must be in the initial fragment, do not add to typeDefinitions
+      getGlobalStatements().add(statement);
       names.put(x, classVar);
       return classVar;
     }