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
This commit is contained in:
Andreas Rumpf 2021-04-21 07:41:33 +02:00 • committed by GitHub
commit a9b62de895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 142 additions and 143 deletions

View file

@ -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: