attempt to make tests green again
This commit is contained in:
parent
f2222316bd
commit
ec0f982ed4
5 changed files with 40 additions and 21 deletions
|
|
@ -199,7 +199,7 @@ proc transformVarSection(c: PTransf, v: PNode): PTransNode =
|
|||
elif it.kind == nkIdentDefs:
|
||||
if it.sons[0].kind != nkSym: InternalError(it.info, "transformVarSection")
|
||||
var newVar = copySym(it.sons[0].sym)
|
||||
incl(newVar.flags, sfFromGeneric)
|
||||
incl(newVar.flags, sfFromGeneric)
|
||||
# fixes a strange bug for rodgen:
|
||||
#include(it.sons[0].sym.flags, sfFromGeneric);
|
||||
newVar.owner = getCurrOwner(c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue