Skip to content

Commit

Permalink
sema/render/json: unwrap quantifier-bound names
Browse files Browse the repository at this point in the history
  • Loading branch information
uakci committed May 13, 2024
1 parent ebe0bc0 commit 72e1889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/semantics/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ const json: Format<JsonExprIntermediate> = {
symbolForQuantifier: quantifier => quantifier,
quantifier: (symbol, name, body) =>
({
[symbol as Quantifier]: name as string,
[symbol as Quantifier]: (name as { variable: string }).variable,
body: body as JsonExpr,
}) as JsonQuantifierExpr,
restrictedQuantifier: (symbol, name, restriction, body) =>
Expand Down

0 comments on commit 72e1889

Please sign in to comment.