fixes #1687
This commit is contained in:
parent
a1c217a2db
commit
866ce10b05
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ proc handleGenericInvokation(cl: var TReplTypeVars, t: PType): PType =
|
|||
|
||||
var newbody = replaceTypeVarsT(cl, lastSon(body))
|
||||
newbody.flags = newbody.flags + (t.flags + body.flags - tfInstClearedFlags)
|
||||
result.flags = result.flags + newbody.flags
|
||||
result.flags = result.flags + newbody.flags - tfInstClearedFlags
|
||||
newbody.callConv = body.callConv
|
||||
# This type may be a generic alias and we want to resolve it here.
|
||||
# One step is enough, because the recursive nature of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue