-d:nimDebug: calls doAssert false instead of quit (#17739)
This commit is contained in:
parent
5c5f356347
commit
5c9c1988f6
9 changed files with 20 additions and 14 deletions
|
|
@ -1011,7 +1011,7 @@ proc typeRel(c: var TCandidate, f, aOrig: PType,
|
|||
when declared(deallocatedRefId):
|
||||
let corrupt = deallocatedRefId(cast[pointer](f))
|
||||
if corrupt != 0:
|
||||
quit "it's corrupt " & $corrupt
|
||||
c.c.config.quitOrRaise "it's corrupt " & $corrupt
|
||||
|
||||
if f.kind == tyUntyped:
|
||||
if aOrig != nil: put(c, f, aOrig)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue