tnnodeindex.nim 136 B

123456789
  1. discard """
  2. errormsg: "index 5 not in 0 .. 2"
  3. line: 7
  4. """
  5. import macros
  6. macro t(x: untyped): untyped =
  7. result = x[5]
  8. t([1, 2, 3])