Merge pull request #7841 from coffeepots/patch-5

Fix typo in "out of bounds" error message
This commit is contained in:
Dmitry Atamanov 2018-05-18 20:43:35 +03:00 • committed by GitHub
commit 508dfdabee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -441,7 +441,7 @@ proc setLenSeq(c: PCtx; node: PNode; newLen: int; info: TLineInfo) =
node.sons[i] = newNodeI(typeKind, info)
const
errIndexOutOfBounds = "index ouf of bounds"
errIndexOutOfBounds = "index out of bounds"
errNilAccess = "attempt to access a nil address"
errOverOrUnderflow = "over- or underflow"
errConstantDivisionByZero = "division by zero"