From ef659f3e97e6d063ee6da94b73f2437c57938de8 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Thu, 11 Apr 2024 11:44:41 +0200 Subject: [PATCH] yet another fix for Python on Windows --- src/runtime/c/pgf/typechecker.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/runtime/c/pgf/typechecker.cxx b/src/runtime/c/pgf/typechecker.cxx index 9ae1aa566..379bc44b6 100644 --- a/src/runtime/c/pgf/typechecker.cxx +++ b/src/runtime/c/pgf/typechecker.cxx @@ -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)