We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 447af45 + 30ed3fd commit 7d4df21Copy full SHA for 7d4df21
src/Lean/Meta/Constructions/SparseCasesOnEq.lean
@@ -71,7 +71,7 @@ where
71
let hyp := hyp.applyFVarSubst subst
72
mvarId.withContext do
73
let some prf ← refutableHasNotBit? (← inferType hyp)
74
- | panic! "mkSparseCasesOnEq: not refutable (← inferTye hyp)"
+ | throwError m!"mkSparseCasesOnEq: not refutable {← inferType hyp}"
75
mvarId.assign (← mkAbsurd (← mvarId.getType) prf hyp)
76
else
77
s.mvarId.refl
0 commit comments