tsigmatch.nim 130 B

1234567
  1. block: # bug #13618
  2. proc test(x: Natural or BackwardsIndex): int =
  3. int(x)
  4. doAssert test(^1) == 1
  5. doAssert test(1) == 1