bugfix: 'indexOf' for tuple fields works
This commit is contained in:
parent
5ac5bedc66
commit
78b27ed7fa
3 changed files with 30 additions and 7 deletions
|
|
@ -31,11 +31,6 @@ proc getIdentNode(n: PNode): PNode =
|
|||
illFormedAst(n)
|
||||
result = n
|
||||
|
||||
proc newSymNodeTypeDesc(s: PSym; info: TLineInfo): PNode =
|
||||
result = newSymNode(s, info)
|
||||
result.typ = newType(tyTypeDesc, s.owner)
|
||||
result.typ.addSonSkipIntLit(s.typ)
|
||||
|
||||
proc semGenericStmt(c: PContext, n: PNode, flags: TSemGenericFlags,
|
||||
ctx: var TIntSet): PNode
|
||||
proc semGenericStmtScope(c: PContext, n: PNode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue