yet another fix for Python on Windows

This commit is contained in:
Krasimir Angelov
2024-04-11 11:44:41 +02:00
parent 77752f02ec
commit ef659f3e97

View File

@@ -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)