Created
October 25, 2018 09:03
-
-
Save copygirl/24e560f007410ed6fef585666da570ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import macros | |
macro foo(i: static[int]): untyped = | |
echo $i | |
foo(1) | |
foo(2) | |
macro foo2(i: static[int]): untyped = | |
echo $i | |
proc doNothing() = | |
discard i | |
doNothing() | |
foo2(1) | |
foo2(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment