fixes bug reported in PR #5637
This commit is contained in:
parent
560d87f5fd
commit
6cb8bf8045
3 changed files with 20 additions and 1 deletions
8
tests/types/tillegaltyperecursion2.nim
Normal file
8
tests/types/tillegaltyperecursion2.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
discard """
|
||||
errormsg: "invalid recursion in type 'Executor'"
|
||||
line: 8
|
||||
"""
|
||||
# bug reported by PR #5637
|
||||
type
|
||||
Executor[N] = Executor[N]
|
||||
var e: Executor[int]
|
||||
Loading…
Add table
Add a link
Reference in a new issue