Fix typo in "out of bounds" error message
This commit is contained in:
parent
5b176f14a2
commit
43b1ac07d4
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ proc setLenSeq(c: PCtx; node: PNode; newLen: int; info: TLineInfo) =
|
||||||
node.sons[i] = newNodeI(typeKind, info)
|
node.sons[i] = newNodeI(typeKind, info)
|
||||||
|
|
||||||
const
|
const
|
||||||
errIndexOutOfBounds = "index ouf of bounds"
|
errIndexOutOfBounds = "index out of bounds"
|
||||||
errNilAccess = "attempt to access a nil address"
|
errNilAccess = "attempt to access a nil address"
|
||||||
errOverOrUnderflow = "over- or underflow"
|
errOverOrUnderflow = "over- or underflow"
|
||||||
errConstantDivisionByZero = "division by zero"
|
errConstantDivisionByZero = "division by zero"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue