Fixed proto options
This commit is contained in:
parent
466af35d4d
commit
951157a4e9
1 changed files with 1 additions and 0 deletions
|
|
@ -1559,6 +1559,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind,
|
|||
addParams(c, proto.typ.n, proto.kind)
|
||||
proto.info = s.info # more accurate line information
|
||||
s.typ = proto.typ
|
||||
proto.options = s.options
|
||||
s = proto
|
||||
n.sons[genericParamsPos] = proto.ast.sons[genericParamsPos]
|
||||
n.sons[paramsPos] = proto.ast.sons[paramsPos]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue