fix: error message
This commit is contained in:
parent
20bc004c70
commit
02fc447b04
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ _ ← getLevel e; pure ()
|
|||
def throwLetTypeMismatchMessage {α} (fvarId : FVarId) : MetaM α := do
|
||||
lctx ← getLCtx;
|
||||
match lctx.find? fvarId with
|
||||
| some (LocalDecl.ldecl _ n t v b _) => do
|
||||
| some (LocalDecl.ldecl _ _ n t v _) => do
|
||||
vType ← inferType v;
|
||||
throwError $
|
||||
"invalid let declaration, term" ++ indentExpr v
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue