updated some tests

This commit is contained in:
Araq 2014-10-04 14:23:17 +02:00
commit 4616a1e006
5 changed files with 14 additions and 5 deletions

View file

@ -268,7 +268,7 @@ proc semTry(c: PContext, n: PNode): PNode =
checkMinSonsLen(a, 1)
var length = sonsLen(a)
if a.kind == nkExceptBranch:
# XXX what does this do? so that ``except [a, b, c]`` is supported?
# so that ``except [a, b, c]`` is supported:
if length == 2 and a.sons[0].kind == nkBracket:
a.sons[0..0] = a.sons[0].sons
length = a.sonsLen