mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-06 07:43:08 +00:00
don't assert
This commit is contained in:
parent
388797861d
commit
ced675233b
@ -22,7 +22,6 @@ macro without*(condition, errorname, body: untyped): untyped =
|
|||||||
## Used to place guards that ensure that a Result contains a value.
|
## Used to place guards that ensure that a Result contains a value.
|
||||||
## Exposes error when Result does not contain a value.
|
## Exposes error when Result does not contain a value.
|
||||||
|
|
||||||
errorname.expectKind(nnkIdent)
|
|
||||||
let errorIdent = ident $errorname
|
let errorIdent = ident $errorname
|
||||||
|
|
||||||
# Nim's early symbol resolution might have picked up a symbol with the
|
# Nim's early symbol resolution might have picked up a symbol with the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user