Bugfix: aliases to generic types were not considered implicit generic parameters
This commit is contained in:
parent
fb27357b62
commit
509d6e9232
2 changed files with 20 additions and 0 deletions
|
|
@ -887,6 +887,9 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode,
|
|||
# disable the bindOnce behavior for the type class
|
||||
result = liftingWalk(paramType.base, true)
|
||||
|
||||
of tyAlias:
|
||||
result = liftingWalk(paramType.base)
|
||||
|
||||
of tySequence, tySet, tyArray, tyOpenArray,
|
||||
tyVar, tyLent, tyPtr, tyRef, tyProc:
|
||||
# XXX: this is a bit strange, but proc(s: seq)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue