fix: pp.analyze was still printing inaccessibles

This commit is contained in:
Daniel Selsam 2021-07-29 11:35:15 -07:00 committed by Sebastian Ullrich
parent 912e5cf212
commit d6412b3a98

View file

@ -360,7 +360,7 @@ where
match instResult with
| LOption.some inst =>
if ← checkpointDefEq inst arg then annotateBool `pp.analysis.skip
else annotateBool `pp.analysis.namedArg
else discard <| annotateNamedArg (← mvarName mvars[i]) appPos
| _ => discard <| annotateNamedArg (← mvarName mvars[i]) appPos
| BinderInfo.auxDecl => pure ()
| BinderInfo.strictImplicit => unreachable!