small bugfixes to make more tests green

This commit is contained in:
Araq 2011-11-02 02:28:18 +01:00
commit 1f6725e59e
11 changed files with 40 additions and 11 deletions

View file

@ -3,7 +3,8 @@ var
lastId = 0
template genId*: expr =
inc(bind lastId)
bind lastId
inc(lastId)
lastId