Cleaned up the circular dependecies and remaining issues
Changed: The []= operator for strings and sequences is now capable of splicing
This commit is contained in:
parent
22546c44d1
commit
e3deb5b502
11 changed files with 105 additions and 100 deletions
|
|
@ -440,7 +440,7 @@ proc semTry(c: PContext, n: PNode): PNode =
|
|||
var length = sonsLen(a)
|
||||
if a.kind == nkExceptBranch:
|
||||
if length == 2 and a.sons[0].kind == nkBracket:
|
||||
a.sons.splice(0, 1, a.sons[0].sons)
|
||||
a.sons[0..0] = a.sons[0].sons
|
||||
length = a.sonsLen
|
||||
|
||||
for j in countup(0, length - 2):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue