Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: use exprToSyntax in
comefrom
elaborator (#28)
The current logic to embed an expression into syntax is buggy since it doesn't unify types while doing the metavariable assignment. This can leave unassigned universe metavariables. Switching to core's `exprToSyntax` resolves this issue. I discovered this while working on lean4#2973. Without this fix, all the `match` examples in this repository fail when using that PR's version of Lean.
- Loading branch information