made more tests green; fixes #201
This commit is contained in:
parent
8178cd4fab
commit
a59abdf8e4
13 changed files with 43 additions and 30 deletions
|
|
@ -1,8 +1,12 @@
|
|||
|
||||
template tmp[T](x: var seq[T]) =
|
||||
var yz: T
|
||||
#var yz: T # XXX doesn't work yet
|
||||
x = @[1, 2, 3]
|
||||
|
||||
macro tmp2[T](x: var seq[T]): stmt =
|
||||
nil
|
||||
|
||||
var y: seq[int]
|
||||
tmp(y)
|
||||
tmp(y)
|
||||
echo y.repr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue