Advertisement
Guest User

Untitled

a guest
Jul 11th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nim 0.16 KB | None | 0 0
  1. macro a(i: static[int]): int = i + 1
  2. macro b(i: static[int]): int = a(i)
  3. echo b(5)
  4. #Error: type mismatch: got (int)
  5. #but expected one of: a(i: static[int])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement