summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authoralaviss <alaviss@users.noreply.github.com>2018-08-31 16:24:01 +0700
committerAndreas Rumpf <rumpf_a@web.de>2018-08-31 11:24:01 +0200
commit198e34ec1d242337d9ab21a6a456a2fec21f2d08 (patch)
tree0ab882ab88552592c26a678b10f523033eb511ab /lib/system
parentbacf08e65d614f515b0feb73e549090dce012f3f (diff)
downloadNim-198e34ec1d242337d9ab21a6a456a2fec21f2d08.tar.gz
system/excpt: nil is no longer vaild for seqs (#8825)
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/excpt.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim
index d9c7b4c25..7d5f5af7f 100644
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -307,7 +307,7 @@ when hasSomeStackTrace:
     when NimStackTrace:
       auxWriteStackTrace(framePtr, s)
     else:
-      s = nil
+      s = @[]
 
   proc stackTraceAvailable(): bool =
     when NimStackTrace: