don't assert

This commit is contained in:
Jaremy Creechley 2023-07-28 00:52:47 -07:00
parent 388797861d
commit ced675233b
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -22,7 +22,6 @@ macro without*(condition, errorname, body: untyped): untyped =
## Used to place guards that ensure that a Result contains a value.
## Exposes error when Result does not contain a value.
errorname.expectKind(nnkIdent)
let errorIdent = ident $errorname
# Nim's early symbol resolution might have picked up a symbol with the