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 /lib/core | |
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 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 847e17c56..dfda43625 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -567,7 +567,7 @@ proc quote*(bl: typed, op = "``"): NimNode {.magic: "QuoteAst", noSideEffect.} ## ## .. code-block:: nim ## - ## macro check(ex: untyped): typed = + ## macro check(ex: untyped) = ## # this is a simplified version of the check macro from the ## # unittest module. ## |