system/excpt: nil is no longer vaild for seqs (#8825)

This commit is contained in:
alaviss 2018-08-31 16:24:01 +07:00 • committed by Andreas Rumpf
commit 198e34ec1d

View file

@ -307,7 +307,7 @@ when hasSomeStackTrace:
when NimStackTrace: when NimStackTrace:
auxWriteStackTrace(framePtr, s) auxWriteStackTrace(framePtr, s)
else: else:
s = nil s = @[]
proc stackTraceAvailable(): bool = proc stackTraceAvailable(): bool =
when NimStackTrace: when NimStackTrace: