make tsigbreak.nim compile
This commit is contained in:
parent
34143ee122
commit
e169eaac5b
5 changed files with 42 additions and 7 deletions
|
|
@ -759,9 +759,11 @@ proc typeSectionRightSidePass(c: PContext, n: PNode) =
|
|||
if st.kind == tyGenericBody: st = st.lastSon
|
||||
internalAssert st.kind in {tyPtr, tyRef}
|
||||
internalAssert st.lastSon.sym == nil
|
||||
incl st.flags, tfRefsAnonObj
|
||||
st.lastSon.sym = newSym(skType, getIdent(s.name.s & ":ObjectType"),
|
||||
getCurrOwner(), s.info)
|
||||
|
||||
|
||||
proc checkForMetaFields(n: PNode) =
|
||||
template checkMeta(t) =
|
||||
if t != nil and t.isMetaType and tfGenericTypeParam notin t.flags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue