diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2020-07-14 11:44:56 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 16:44:56 +0200 |
commit | 9465b5db443b98d7ac2c1683e986716fb9a9290f (patch) | |
tree | 47e6b4eaf5c66c364f8d6bde2bb904296902fe87 /tests/showoff | |
parent | 2b0e336c971401d06797240686722ce669d902b9 (diff) | |
download | Nim-9465b5db443b98d7ac2c1683e986716fb9a9290f.tar.gz |
Clean up macros (#14959)
Diffstat (limited to 'tests/showoff')
-rw-r--r-- | tests/showoff/tformatopt.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/showoff/tformatopt.nim b/tests/showoff/tformatopt.nim index 6e790c38e..420dd026b 100644 --- a/tests/showoff/tformatopt.nim +++ b/tests/showoff/tformatopt.nim @@ -37,7 +37,7 @@ macro optFormat{`%`(f, a)}(f: string{lit}, a: openArray[string]): untyped = result = newNimNode(nnkBracket) let f = f.strVal formatImpl(newLit) - result = nestList(!"&", result) + result = nestList(newIdentNode("&"), result) template optAdd1{x = y; add(x, z)}(x, y, z: string) = x = y & z |