further improvements for term rewriting macros
This commit is contained in:
parent
b4cd119800
commit
6753d36854
8 changed files with 74 additions and 28 deletions
|
|
@ -5,7 +5,7 @@ discard """
|
|||
|
||||
import strutils
|
||||
|
||||
proc foo(s: expr{string}): string =
|
||||
proc foo(s: expr[string]): string =
|
||||
static: echo s
|
||||
|
||||
const R = s.toUpper
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue