fix: pp.analyze confirm def-eq before omitting arg
This commit is contained in:
parent
3bef119136
commit
126db5fb12
1 changed files with 2 additions and 1 deletions
|
|
@ -407,7 +407,8 @@ where
|
|||
match bInfos[i] with
|
||||
| BinderInfo.default =>
|
||||
if !(← valUnknown mvars[i]) && !(← read).inBottomUp && !(← isFunLike arg) then
|
||||
annotateBool `pp.analysis.hole
|
||||
if ← checkpointDefEq mvars[i] arg then
|
||||
annotateBool `pp.analysis.hole
|
||||
|
||||
| BinderInfo.implicit =>
|
||||
if (← valUnknown mvars[i] <||> higherOrders[i]) && !forceRegularApp then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue