tinnerouterproc.nim 225 B

123456789
  1. block: # #20002
  2. proc bar(x: int): int = 10
  3. template foo =
  4. proc bar(x: int): int {.gensym.} = x + 2
  5. doAssert bar(3) == 5
  6. discard 3.bar # evaluates to 10 but only check if it compiles for now
  7. block:
  8. foo()