remove any traces of the old global generics cache
This commit is contained in:
parent
5d9153d420
commit
55f8ed2452
6 changed files with 65 additions and 109 deletions
|
|
@ -1359,7 +1359,7 @@ proc tryExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode =
|
|||
let oldInUnrolledContext = c.InUnrolledContext
|
||||
let oldInGenericInst = c.InGenericInst
|
||||
let oldProcCon = c.p
|
||||
c.generics = newGenericsCache()
|
||||
c.generics = @[]
|
||||
try:
|
||||
result = semExpr(c, n, flags)
|
||||
if msgs.gErrorCounter != oldErrorCount: result = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue