proc `!` was deprecated since Nim 0.18, and it doesn't exist in Nim 1.4
This commit is contained in:
parent
cd7ff6eed2
commit
13607032e9
|
@ -783,7 +783,7 @@ macro check*(conditions: untyped): untyped =
|
|||
result = newNimNode(nnkStmtList)
|
||||
for node in checked:
|
||||
if node.kind != nnkCommentStmt:
|
||||
result.add(newCall(!"check", node))
|
||||
result.add(newCall(newIdentNode("check"), node))
|
||||
|
||||
else:
|
||||
let lineinfo = newStrLitNode(checked.lineinfo)
|
||||
|
|
Loading…
Reference in New Issue