Merge branch 'devel' into sighashes
This commit is contained in:
commit
24239c2361
14 changed files with 341 additions and 216 deletions
|
|
@ -760,8 +760,10 @@ proc typeSectionRightSidePass(c: PContext, n: PNode) =
|
|||
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"),
|
||||
let obj = newSym(skType, getIdent(s.name.s & ":ObjectType"),
|
||||
getCurrOwner(), s.info)
|
||||
obj.typ = st.lastSon
|
||||
st.lastSon.sym = obj
|
||||
|
||||
|
||||
proc checkForMetaFields(n: PNode) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue