fix: ppGoal bug
This commit is contained in:
parent
b619b3ae7e
commit
62230defc7
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ match mctx.findDecl? mvarId with
|
|||
match ids, type? with
|
||||
| [], _ => fmt
|
||||
| _, none => fmt
|
||||
| _, some type => fmt ++ (Format.joinSep ids " " ++ " :" ++ Format.nest indent (Format.line ++ pp type)).group;
|
||||
| _, some type => fmt ++ (Format.joinSep ids.reverse " " ++ " :" ++ Format.nest indent (Format.line ++ pp type)).group;
|
||||
let (varNames, type?, fmt) := mvarDecl.lctx.foldl
|
||||
(fun (acc : List Name × Option Expr × Format) (localDecl : LocalDecl) =>
|
||||
let (varNames, prevType?, fmt) := acc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue