trectuple.nim 246 B

1234567891011121314151617
  1. discard """
  2. errormsg: "illegal recursion in type 'TNode'"
  3. line: 8
  4. disabled: true
  5. """
  6. type
  7. PNode = ref TNode
  8. TNode = tuple # comment
  9. self: PNode # comment
  10. a, b: int # comment
  11. var node: PNode
  12. new(node)
  13. node.self = node