Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macro a(i: static[int]): int = i + 1
- macro b(i: static[int]): int = a(i)
- echo b(5)
- #Error: type mismatch: got (int)
- #but expected one of: a(i: static[int])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement