make tests green again
This commit is contained in:
parent
bfaa329680
commit
ac81a99892
2 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue