tillegaltuplerecursiongeneric2.nim 131 B

12345678910
  1. discard """
  2. errormsg: "illegal recursion in type 'TPearl'"
  3. """
  4. type
  5. TPearl[T] = tuple
  6. next: TPearl[T]
  7. var x: TPearl[int]