Skip to content

Commit

Permalink
yet another fix for Python on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
krangelov committed Apr 11, 2024
1 parent 77752f0 commit ef659f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/runtime/c/pgf/typechecker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ PgfExpr PgfTypechecker::Context::eabs(PgfBindType btype, PgfText *name, PgfExpr
return tc->type_error("A lambda abstraction must have a function type");
}

Scope new_scope = {.tail=scope, .var=name, .ty=pi->arg};
Scope new_scope;
new_scope.tail=scope;
new_scope.var=name;
new_scope.ty=pi->arg;
Context body_ctxt(tc,&new_scope,pi->res);
body = tc->m->match_expr(&body_ctxt, body);
if (body == 0)
Expand Down

0 comments on commit ef659f3

Please sign in to comment.