diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-04-21 07:41:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 07:41:33 +0200 |
commit | a9b62de8956af50424767408bbe30631c63b331b (patch) | |
tree | 1bedd3362d89ee8b2d4f0b6552630a2e203ef8f0 /lib/std/wrapnils.nim | |
parent | 7bce1f8578eafffacd599401e709de279528e68b (diff) | |
download | Nim-a9b62de8956af50424767408bbe30631c63b331b.tar.gz |
CIs: attempt to use csources_v1 (#16282)
* CIs: attempt to use csources_v1 * also updated the BSDs * also updated azure pipelines * std modules should not itself use the 'std/' import dir... * compiler has to be careful with std/ for v1 booting
Diffstat (limited to 'lib/std/wrapnils.nim')
-rw-r--r-- | lib/std/wrapnils.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/wrapnils.nim b/lib/std/wrapnils.nim index 3ff48fbfe..708faf4cf 100644 --- a/lib/std/wrapnils.nim +++ b/lib/std/wrapnils.nim @@ -24,7 +24,7 @@ runnableExamples: assert (?.f2.x2.x2).x3 == nil # this terminates ?. early -from std/options import Option, isSome, get, option, unsafeGet, UnpackDefect +from options import Option, isSome, get, option, unsafeGet, UnpackDefect export options.get, options.isSome, options.isNone template fakeDot*(a: Option, b): untyped = @@ -59,7 +59,7 @@ func `[]`*[U](a: Option[U]): auto {.inline.} = if a2 != nil: result = option(a2[]) -import std/macros +import macros func replace(n: NimNode): NimNode = if n.kind == nnkDotExpr: |