}
return env;
}
private void collectTypesForFreeVarsFwd(Node callee, TypeEnv env) {
Scope calleeScope = currentScope.getScope(callee.getQualifiedName());
for (String freeVar : calleeScope.getOuterVars()) {
if (calleeScope.getDeclaredTypeOf(freeVar) == null) {
FunctionType summary = summaries.get(calleeScope).getFunType();
JSType outerType = envGetType(env, freeVar);
JSType innerType = summary.getOuterVarPrecondition(freeVar);
if (outerType != null && JSType.meet(outerType, innerType).isBottom()) {
warnings.add(JSError.make(callee, CROSS_SCOPE_GOTCHA,