This commit is contained in:
Timothee Cour 2019-08-15 06:55:48 -07:00 • committed by Andreas Rumpf
commit 511298242d
5 changed files with 18 additions and 4 deletions

View file

@ -26,7 +26,7 @@ proc raiseIndexError() {.compilerproc, noinline.} =
sysFatal(IndexError, "index out of bounds")
proc raiseFieldError(f: string) {.compilerproc, noinline.} =
sysFatal(FieldError, f, " is not accessible")
sysFatal(FieldError, f)
proc chckIndx(i, a, b: int): int =
if i >= a and i <= b:

View file

@ -163,7 +163,7 @@ proc raiseIndexError(i, a, b: int) {.compilerproc, noreturn.} =
raise newException(IndexError, formatErrorIndexBound(int(i), int(a), int(b)))
proc raiseFieldError(f: string) {.compilerproc, noreturn.} =
raise newException(FieldError, f & " is not accessible")
raise newException(FieldError, f)
proc setConstr() {.varargs, asmNoStackFrame, compilerproc.} =
asm """