From ced675233bc3318991a0add4fd8c588f281ef538 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Fri, 28 Jul 2023 00:52:47 -0700 Subject: [PATCH] don't assert --- questionable/withoutresult.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/questionable/withoutresult.nim b/questionable/withoutresult.nim index 8206aca..34307b7 100644 --- a/questionable/withoutresult.nim +++ b/questionable/withoutresult.nim @@ -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