mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
clean up wrapnils
This commit is contained in:
@@ -23,7 +23,6 @@ runnableExamples:
|
||||
assert ?.(f2.x2.x2).x3[] == 0
|
||||
|
||||
assert (?.f2.x2.x2).x3 == nil # this terminates ?. early
|
||||
import std/segfaults # enable `NilAccessDefect` exceptions
|
||||
|
||||
from std/options import Option, isSome, get, option, unsafeGet, UnpackDefect
|
||||
export options.get, options.isSome, options.isNone
|
||||
|
||||
Reference in New Issue
Block a user