make tests green again
This commit is contained in:
parent
39ca8b8c8e
commit
3e5e18bc5d
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ proc wrapInComesFrom*(info: TLineInfo; res: PNode): PNode =
|
|||
when true:
|
||||
result = res
|
||||
result.info = info
|
||||
if result.kind in {nkStmtList, nkStmtListExpr}:
|
||||
if result.kind in {nkStmtList, nkStmtListExpr} and result.len > 0:
|
||||
result.lastSon.info = info
|
||||
when false:
|
||||
# this hack is required to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue