This commit is contained in:
parent
6e3a4ebf6a
commit
0e1bc3f5ca
1 changed files with 3 additions and 0 deletions
|
|
@ -1361,6 +1361,9 @@ proc genSym(p: PProc, n: PNode, r: var TCompRes) =
|
|||
internalError(p.config, n.info, "symbol has no generated name: " & s.name.s)
|
||||
r.res = s.loc.r
|
||||
of skProc, skFunc, skConverter, skMethod:
|
||||
if sfCompileTime in s.flags:
|
||||
localError(p.config, n.info, "request to generate code for .compileTime proc: " &
|
||||
s.name.s)
|
||||
discard mangleName(p.module, s)
|
||||
r.res = s.loc.r
|
||||
if lfNoDecl in s.loc.flags or s.magic != mNone or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue