Skip to content

Commit

Permalink
chore: include problematic match auxiliary declaration name in the …
Browse files Browse the repository at this point in the history
…error message
  • Loading branch information
leodemoura committed Apr 20, 2022
1 parent e1fbfb6 commit 4a18679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Meta/Match/MatchEqs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ where
<|>
(substSomeVar mvarId)
<|>
(throwError "failed to generate equality theorems for `match` expression\n{MessageData.ofGoal mvarId}")
(throwError "failed to generate equality theorems for `match` expression `{matchDeclName}`\n{MessageData.ofGoal mvarId}")
subgoals.forM (go · (depth+1))


Expand Down

0 comments on commit 4a18679

Please sign in to comment.