fix: typo
This commit is contained in:
parent
baf4f1c152
commit
dfdbec51ad
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ where
|
|||
go (i : Nat) (code : Code) : SimpM Code := do
|
||||
if i > 0 then
|
||||
let decl := decls[i-1]!
|
||||
if decl.isPure || (← isUsed decl.fvarId) then
|
||||
if !decl.isPure || (← isUsed decl.fvarId) then
|
||||
match decl with
|
||||
| .let decl => markUsedLetDecl decl; go (i-1) (.let decl code)
|
||||
| .fun decl => markUsedFunDecl decl; go (i-1) (.fun decl code)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue