File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Lean/Elab/Tactic/Conv Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ where
200
200
if explicit then
201
201
let i := if i > 0 then i - 1 else i + xs.size
202
202
if i < 0 || i ≥ xs.size then
203
- throwError "invalid '{tacticName}' tactic, application has {xs.size} arguments but the index is out of bounds"
203
+ throwError "invalid '{tacticName}' tactic, application has {xs.size} argument(s) but the index is out of bounds"
204
204
let idx := i.natAbs
205
205
return (mkAppN f xs[0 :idx], xs[idx:])
206
206
else
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ example (f : {_ : Nat} → Nat → Nat) (h : m = m') : @f n m = @f n m' := by
73
73
conv =>
74
74
enter [1 , 6 ]
75
75
76
- /-- error: invalid 'arg' tactic, application has 2 arguments but the index is out of bounds -/
76
+ /-- error: invalid 'arg' tactic, application has 2 argument(s) but the index is out of bounds -/
77
77
#guard_msgs in
78
78
example (f : {_ : Nat} → Nat → Nat) (h : m = m') : @f n m = @f n m' := by
79
79
conv =>
You can’t perform that action at this time.
0 commit comments