tillegaltuplerecursiongeneric.nim 154 B

12345678
  1. discard """
  2. errormsg: "illegal recursion in type 'RefTree'"
  3. """
  4. type
  5. RefTree[T] = ref tuple[le, ri: RefTree[T]; data: T]
  6. RefTreeInt = RefTree[int]