fix: checkWsBefore.formatter
This commit is contained in:
parent
064c9b2e0b
commit
f0dad079ad
2 changed files with 4 additions and 2 deletions
|
|
@ -382,7 +382,9 @@ def toggleInsideQuot.formatter (p : Formatter) : Formatter :=
|
|||
p
|
||||
|
||||
@[combinatorFormatter checkWsBefore] def checkWsBefore.formatter : Formatter := do
|
||||
pushLine
|
||||
st ← get;
|
||||
when (st.leadWord != "") $
|
||||
pushLine
|
||||
|
||||
@[combinatorFormatter checkPrec] def checkPrec.formatter : Formatter := pure ()
|
||||
@[combinatorFormatter checkStackTop] def checkStackTop.formatter : Formatter := pure ()
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ precissues.lean:17:10: error: expected command, but found term; this error may b
|
|||
1 : Nat
|
||||
id ((fun (this : True) => this) True.intro) : True
|
||||
0 = (fun (this : Nat) => this) 1 : Prop
|
||||
0 = let x : Nat := 0;
|
||||
0 = let x : Nat := 0;
|
||||
x : Prop
|
||||
p ↔ ¬q : Prop
|
||||
True = ¬False : Prop
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue