Skip to content

Commit 7d4df21

Browse files
committed
Merge branch 'joachim/sparseCasesEq' into joachim/issue11665
2 parents 447af45 + 30ed3fd commit 7d4df21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lean/Meta/Constructions/SparseCasesOnEq.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ where
7171
let hyp := hyp.applyFVarSubst subst
7272
mvarId.withContext do
7373
let some prf ← refutableHasNotBit? (← inferType hyp)
74-
| panic! "mkSparseCasesOnEq: not refutable (← inferTye hyp)"
74+
| throwError m!"mkSparseCasesOnEq: not refutable {← inferType hyp}"
7575
mvarId.assign (← mkAbsurd (← mvarId.getType) prf hyp)
7676
else
7777
s.mvarId.refl

0 commit comments

Comments
 (0)