fix: only pp.analyze when all is not set
This commit is contained in:
parent
126db5fb12
commit
1f183cdc30
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ def delab (currNamespace : Name) (openDecls : List OpenDecl) (e : Expr) (options
|
|||
catch _ => pure ()
|
||||
let e ← if getPPInstantiateMVars opts then ← Meta.instantiateMVars e else e
|
||||
let optionsPerPos ←
|
||||
if getPPAnalyze opts && optionsPerPos.isEmpty then
|
||||
if !getPPAll opts && getPPAnalyze opts && optionsPerPos.isEmpty then
|
||||
topDownAnalyze e
|
||||
else optionsPerPos
|
||||
catchInternalId Delaborator.delabFailureId
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue