Remove expr/stmt (#5857)
This commit is contained in:
parent
52ff244d5d
commit
000b8afd26
168 changed files with 497 additions and 529 deletions
|
|
@ -16,10 +16,10 @@ type
|
|||
TBar = tuple
|
||||
x, y: int
|
||||
|
||||
template accept(e: expr) =
|
||||
template accept(e) =
|
||||
static: assert(compiles(e))
|
||||
|
||||
template reject(e: expr) =
|
||||
template reject(e) =
|
||||
static: assert(not compiles(e))
|
||||
|
||||
proc genericParamRepeated[T: typedesc](a: T, b: T) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue