This commit is contained in:
Araq 2018-09-03 10:50:39 +02:00
commit b3c3a46317
3 changed files with 11 additions and 7 deletions

View file

@ -223,6 +223,9 @@ type
proc `==`*(a, b: FileIndex): bool {.borrow.}
proc raiseRecoverableError*(msg: string) {.noinline, noreturn.} =
raise newException(ERecoverableError, msg)
const
InvalidFileIDX* = FileIndex(-1)