Repository navigation
Fix #7643: coverage: handle blocked sort in isFibrant - #7672
Conversation
WAS: uncaught pattern violation. NOW: default to non-fibrant.
|
Is defaulting the right thing to do here? In general, defaulting rules tend to make the result of elaboration dependent on the order in which constraints are solved and can result in brittle code as a result. As an alternative, we could add a constraint for postponing the call to checkCoverage so it could be retried once the fibrancy check is no longer blocked. |
|
Yeah I guess one could be more careful here. isFib <- fromRight (const False) <$> lift (isFibrant' t)
...
if isFib && (isHIT || not (null ixs)) && not (null mns) && inserttrailing == DoInsertTrailing
then computeHCompSplit delta1 n delta2 d pars ixs x tel ps cpsIf we want to block on |
Fix #7643: coverage: handle blocked sort in isFibrant
WAS: uncaught pattern violation.
NOW: default to non-fibrant.