diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-02-24 23:40:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 08:40:43 +0100 |
commit | bea037f8565c54c65d83c1f5855d041b6a110f18 (patch) | |
tree | ab5a7ed91bd2071f495c9ce51050a7257deb93d6 /lib/std | |
parent | 60929953cb4ac0dffaa95ee25b666983b189cee1 (diff) | |
download | Nim-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.nim | 1 |
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 |