diff options
author | Arne Döring <arne.doering@gmx.net> | 2019-05-21 21:31:40 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-21 21:31:40 +0200 |
commit | f94ec363abf5b1393014a0bca7202c405512cddd (patch) | |
tree | 54f54dfe076dfa9e70af430521c574517edddb7d /tests/lookups | |
parent | 68b5e3e3fe8c4bf314d31d18c147650db99b4f7d (diff) | |
download | Nim-f94ec363abf5b1393014a0bca7202c405512cddd.tar.gz |
Allow void macro result (#11286)
* allow void macro result * add test for void macro result type
Diffstat (limited to 'tests/lookups')
-rw-r--r-- | tests/lookups/test.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookups/test.nim b/tests/lookups/test.nim index 56f39a4d7..97dfa131a 100644 --- a/tests/lookups/test.nim +++ b/tests/lookups/test.nim @@ -12,7 +12,7 @@ import unittest, macros # bug #4555 -macro memo(n: untyped): typed = +macro memo(n: untyped) = result = n proc fastFib(n: int): int {.memo.} = 40 |