import foo {.all.} reboot (#17706)
This commit is contained in:
parent
12783dbcf0
commit
8161b02897
38 changed files with 584 additions and 76 deletions
|
|
@ -138,9 +138,10 @@ proc semEnum(c: PContext, n: PNode, prev: PType): PType =
|
|||
identToReplace[] = symNode
|
||||
if e.position == 0: hasNull = true
|
||||
if result.sym != nil and sfExported in result.sym.flags:
|
||||
incl(e.flags, sfUsed)
|
||||
incl(e.flags, sfExported)
|
||||
if not isPure: exportSym(c, e)
|
||||
incl(e.flags, {sfUsed, sfExported})
|
||||
if result.sym != nil and not isPure:
|
||||
addInterfaceDeclAux(c, e, forceExport = sfExported in result.sym.flags)
|
||||
|
||||
result.n.add symNode
|
||||
styleCheckDef(c.config, e)
|
||||
onDef(e.info, e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue