Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
This commit is contained in:
parent
8619534293
commit
e7f280bd26
41 changed files with 155 additions and 519 deletions
|
|
@ -107,7 +107,7 @@ block tgetast_typeliar:
|
|||
error("Assertion failed: " & $(`message`) & "\n" & `line`)
|
||||
return
|
||||
|
||||
macro assertOrReturn(condition: bool): typed =
|
||||
macro assertOrReturn(condition: bool) =
|
||||
var message : NimNode = newLit(condition.repr)
|
||||
# echo message
|
||||
result = getAst assertOrReturn2(condition, message)
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ converter int2string(x: int): string = $x
|
|||
template wrap(body: typed): untyped =
|
||||
body
|
||||
|
||||
macro makeProc(): typed =
|
||||
macro makeProc() =
|
||||
# Make a template tree
|
||||
result = quote do:
|
||||
proc someProc* =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue