diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-05-19 16:00:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 16:00:14 +0200 |
commit | 558644725ddcb72ae4e0b34ad5cfb1d38e2c5385 (patch) | |
tree | d54c4e3e324b63453b8549027ee0a538028bee60 /compiler/ic/ic.nim | |
parent | 53935b8b27643215b677cc152f563a7fb7cb84fb (diff) | |
download | Nim-558644725ddcb72ae4e0b34ad5cfb1d38e2c5385.tar.gz |
fixes #17943 (#18045)
* fixes #17943 * IC: test 'nim check --ic:on' for the full Nim compiler * Update testament/testament.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
Diffstat (limited to 'compiler/ic/ic.nim')
-rw-r--r-- | compiler/ic/ic.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/ic/ic.nim b/compiler/ic/ic.nim index 6530cb6c2..bd3be27f0 100644 --- a/compiler/ic/ic.nim +++ b/compiler/ic/ic.nim @@ -507,6 +507,9 @@ proc toPackedNodeIgnoreProcDefs(n: PNode, encoder: var PackedEncoder; m: var Pac of nkStmtList, nkStmtListExpr: for it in n: toPackedNodeIgnoreProcDefs(it, encoder, m) + of nkImportStmt, nkImportExceptStmt, nkExportStmt, nkExportExceptStmt, + nkFromStmt, nkIncludeStmt: + discard "nothing to do" else: toPackedNode(n, m.topLevel, encoder, m) |