about summary refs log tree commit diff stats
path: root/tools/postgresql.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/postgresql.html')
0 files changed, 0 insertions, 0 deletions
ss='alt'>
8b2a9401a ^
405b86068

2cdfe35e7 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17




                                                    


                               
                            


                      
                                                                               

                             

 
discard """
  file: "tillrec.nim"
  line: 13
  errormsg: "illegal recursion in type \'TIllegal\'"
"""
# test illegal recursive types

type
  TLegal {.final.} = object
    x: int
    kids: seq[TLegal]

  TIllegal {.final.} = object  #ERROR_MSG illegal recursion in type 'TIllegal'
    y: Int
    x: array[0..3, TIllegal]