Skip to content

Commit 106081e

Browse files
authored
Update src/Lean/Meta/Tactic/Apply.lean
1 parent 60f3328 commit 106081e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Lean/Meta/Tactic/Apply.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ def _root_.Lean.MVarId.applyN (mvarId : MVarId) (e : Expr) (n : Nat) (useApproxD
241241
unless mvarIds.size == n do
242242
throwError "Applied type takes fewer than {n} arguments:\n{indentExpr eType}"
243243
unless (← isDefEqApply useApproxDefEq eType targetType) do
244-
throwError "Type mismatch: target is\n{indentExpr targetType}\nbut applied expression has \
245-
type\n{indentExpr eType}\nafter applying {n} arguments."
244+
throwError "Type mismatch: target is{indentExpr targetType}\nbut applied expression has \
245+
type{indentExpr eType}\nafter applying {n} arguments."
246246
mvarId.assign (e.beta mvarIds)
247247
return (mvarIds.map (·.mvarId!)).toList
248248

0 commit comments

Comments
 (0)