Skip to content

Commit 4526ec0

Browse files
GulinSSspcfox
andcommitted
[ fix ] Revert back ImpossibleCase to impossibleErrOK
Co-authored-by: Viktor Yudov <me@spcfox.com>
1 parent a2720d0 commit 4526ec0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/TTImp/ProcessDef.idr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ impossibleErrOK (AllFailed errs)
164164
= anyM impossibleErrOK (map snd errs)
165165
impossibleErrOK (WhenUnifying _ _ _ _ _ err)
166166
= impossibleErrOK err
167+
impossibleErrOK ImpossibleCase = pure True
167168
impossibleErrOK _ = pure False
168169

169170
-- If it's a clause we've generated, see if the error is recoverable. That

0 commit comments

Comments
 (0)