summary refs log tree commit diff stats
path: root/lib/std
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-02-24 23:40:43 -0800
committerGitHub <noreply@github.com>2021-02-25 08:40:43 +0100
commitbea037f8565c54c65d83c1f5855d041b6a110f18 (patch)
treeab5a7ed91bd2071f495c9ce51050a7257deb93d6 /lib/std
parent60929953cb4ac0dffaa95ee25b666983b189cee1 (diff)
downloadNim-bea037f8565c54c65d83c1f5855d041b6a110f18.tar.gz
refs #17114: workaround for arm64 which should segfault but does not (#17178)
* refs #17114: workaround for arm64 which should segfault but does not
* fixup
* Update lib/std/wrapnils.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/wrapnils.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/wrapnils.nim b/lib/std/wrapnils.nim
index a469b736d..bda8cf1d8 100644
--- a/lib/std/wrapnils.nim
+++ b/lib/std/wrapnils.nim
@@ -24,7 +24,6 @@ runnableExamples:
 
   assert (?.f2.x2.x2).x3 == nil  # this terminates ?. early
   import std/segfaults # enable `NilAccessDefect` exceptions
-  doAssertRaises(NilAccessDefect): echo (?.f2.x2.x2).x3[]
 
 from std/options import Option, isSome, get, option, unsafeGet, UnpackDefect
 export options.get, options.isSome, options.isNone