Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import macros
- macro m(a, b, c: untyped): untyped =
- return (quote do: echo("!"))
- m(p, 2, 3) # works fine
- p.m(2, 3) # undeclared identifier
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement