progress towards fixing tgenericshardcases
This commit is contained in:
parent
789ba107cf
commit
1ffae7cbaf
9 changed files with 146 additions and 43 deletions
|
|
@ -167,8 +167,7 @@ proc generateInstance(c: PContext, fn: PSym, pt: TIdTable,
|
|||
result.ast = n
|
||||
pushOwner(result)
|
||||
openScope(c)
|
||||
if n.sons[genericParamsPos].kind == nkEmpty:
|
||||
internalError(n.info, "generateInstance")
|
||||
internalAssert n.sons[genericParamsPos].kind != nkEmpty
|
||||
n.sons[namePos] = newSymNode(result)
|
||||
pushInfoContext(info)
|
||||
var entry = TInstantiation.new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue