Remove expr/stmt (#5857)
This commit is contained in:
parent
52ff244d5d
commit
000b8afd26
168 changed files with 497 additions and 529 deletions
|
|
@ -15,7 +15,7 @@ proc `$`(a: TMat): string = result = $a.dummy
|
|||
proc mat21(): TMat =
|
||||
result.dummy = 21
|
||||
|
||||
macro optOps{ (`+`|`-`|`*`) ** a }(a: TMat): expr =
|
||||
macro optOps{ (`+`|`-`|`*`) ** a }(a: TMat): untyped =
|
||||
echo treeRepr(a)
|
||||
result = newCall(bindSym"mat21")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue