Update chcks.nim (#19540)
This commit is contained in:
parent
b2c5d7b4ff
commit
30e9f23ec0
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ proc raiseFieldError(f: string) {.compilerproc, noinline.} =
|
|||
## remove after bootstrap > 1.5.1
|
||||
sysFatal(FieldDefect, f)
|
||||
|
||||
when defined(gcdestructors):
|
||||
when defined(nimV2):
|
||||
proc raiseFieldError2(f: string, discVal: int) {.compilerproc, noinline.} =
|
||||
## raised when field is inaccessible given runtime value of discriminant
|
||||
sysFatal(FieldError, f & $discVal & "'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue