make tests green again

This commit is contained in:
Andreas Rumpf
2017-04-04 18:05:53 +02:00
parent bfaa329680
commit ac81a99892
2 changed files with 2 additions and 2 deletions

View File

@@ -806,7 +806,7 @@ proc track(tracked: PEffects, n: PNode) =
track(tracked, n.sons[i])
setLen(tracked.init, oldState)
of nkObjConstr:
track(tracked, n.sons[0])
when false: track(tracked, n.sons[0])
let oldFacts = tracked.guards.len
for i in 1 .. <len(n):
let x = n.sons[i]

View File

@@ -99,7 +99,7 @@ remove the need for the ``newException`` template.
the "declared but not used" warning. More details can be
found `here <http://nim-lang.org/docs/manual.html#pragmas-used-pragma>`_.
- The popular "colon block of statements" syntax is now also supported for
``let`` and ``var`` statements:
``let`` and ``var`` statements and assignments:
.. code-block:: nim
template ve(value, effect): untyped =