bugfix: pragmas allowed for implicit generics
This commit is contained in:
parent
117a77e106
commit
43de61f37b
1 changed files with 3 additions and 3 deletions
|
|
@ -188,8 +188,8 @@ proc newLib(kind: TLibKind): PLib =
|
||||||
result.kind = kind #initObjectSet(result.syms)
|
result.kind = kind #initObjectSet(result.syms)
|
||||||
|
|
||||||
proc addToLib(lib: PLib, sym: PSym) =
|
proc addToLib(lib: PLib, sym: PSym) =
|
||||||
#ObjectSetIncl(lib.syms, sym);
|
#if sym.annex != nil and not isGenericRoutine(sym):
|
||||||
if sym.annex != nil: LocalError(sym.info, errInvalidPragma)
|
# LocalError(sym.info, errInvalidPragma)
|
||||||
sym.annex = lib
|
sym.annex = lib
|
||||||
|
|
||||||
proc makePtrType(c: PContext, baseType: PType): PType =
|
proc makePtrType(c: PContext, baseType: PType): PType =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue