summary refs log tree commit diff stats
path: root/contributors.txt
blob: e9909c677387576a1b296e6764c5f96abc680558 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Comex
Eric Doughty-Papassideris
Simon Hafner
Keita Haga
Grzegorz Adam Hankiewicz
Philippe Lhoste
Zahary Karadjov
Mario Ray Mahardhika
Alex Mitchell
Dominik Picheta
Jonathan Plona
Alexander R�dseth
.ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
discard """
  output: "Hello World"
"""

# Test incremental type information

type
  TNode = object {.pure.}
    le, ri: ref TNode
    data: string

proc newNode(data: string): ref TNode =
  new(result)
  result.data = data
  
echo newNode("Hello World").data