fixes 'unused module' feature for 32 bit builds of Nim for good [nobackport]
This commit is contained in:
parent
da37177ac2
commit
0e4a8bfb28
3 changed files with 6 additions and 8 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
import
|
||||
intsets, ast, astalgo, msgs, options, idents, lookups,
|
||||
semdata, modulepaths, sigmatch, lineinfos
|
||||
semdata, modulepaths, sigmatch, lineinfos, sets
|
||||
|
||||
proc readExceptSet*(c: PContext, n: PNode): IntSet =
|
||||
assert n.kind in {nkImportExceptStmt, nkExportExceptStmt}
|
||||
|
|
@ -70,7 +70,7 @@ proc rawImportSymbol(c: PContext, s, origin: PSym) =
|
|||
if s.kind == skConverter: addConverter(c, s)
|
||||
if hasPattern(s): addPattern(c, s)
|
||||
if s.owner != origin:
|
||||
c.exportIndirections.incl(idPairToInt(origin.id, s.id))
|
||||
c.exportIndirections.incl((origin.id, s.id))
|
||||
|
||||
proc importSymbol(c: PContext, n: PNode, fromMod: PSym) =
|
||||
let ident = lookups.considerQuotedIdent(c, n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue