Fix typo in "out of bounds" error message

This commit is contained in:
coffeepots
2018-05-18 18:37:28 +01:00
committed by GitHub
parent 5b176f14a2
commit 43b1ac07d4

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"