fix: only unexpand when pp.notation=true
This commit is contained in:
parent
4c41142a61
commit
ed67bd56e0
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ def delabAppImplicit : Delab := do
|
|||
| some stx => argStxs.push stx
|
||||
pure (fnStx, paramKinds.tailD [], argStxs))
|
||||
let stx := Syntax.mkApp fnStx argStxs
|
||||
if ← isRegularApp then
|
||||
if ← isRegularApp <&&> getPPOption getPPNotation then
|
||||
unexpandRegularApp stx
|
||||
<|> unexpandStructureInstance stx
|
||||
<|> unexpandCoe stx
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue