parent
510e383d92
commit
0286a0879b
2 changed files with 31 additions and 0 deletions
|
|
@ -1059,6 +1059,13 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode,
|
|||
# disable the bindOnce behavior for the type class
|
||||
result = recurse(paramType.base, true)
|
||||
|
||||
of tyTuple:
|
||||
for i in 0..<paramType.len:
|
||||
let t = recurse(paramType[i])
|
||||
if t != nil:
|
||||
paramType[i] = t
|
||||
result = paramType
|
||||
|
||||
of tyAlias, tyOwned, tySink:
|
||||
result = recurse(paramType.base)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue