summary refs log tree commit diff stats
path: root/doc/estp.rst
Commit message (Collapse)AuthorAgeFilesLines
* renamed most remaining .txt documentation files to .rstAraq2016-06-071-0/+195
' href='#n3'>3 4 5 6 7 8 9 10 11 12 13 14 15














                                                 
type
  Foo*[T] = object
    v*: T

template `+`*(x: Foo, y: Foo): untyped = x

template newvar*(r: untyped): untyped {.dirty.} =
  var r: float

template t1*(x: Foo): untyped =
  newvar(y1)
  x
template t2*(x: Foo): untyped =
  newvar(y2)
  x