tillegaltyperecursion2.nim 158 B

123456789
  1. discard """
  2. errormsg: "illegal recursion in type 'Executor'"
  3. line: 8
  4. """
  5. # bug reported by PR #5637
  6. type
  7. Executor[N] = Executor[N]
  8. var e: Executor[int]