documented static params
This commit is contained in:
parent
027f30610e
commit
952dbc4b8f
3 changed files with 66 additions and 0 deletions
|
|
@ -684,6 +684,8 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode,
|
|||
result.sons.setLen(result.sons.len - 1)
|
||||
of tyTypeClass:
|
||||
result = addImplicitGeneric(copyType(paramType, getCurrOwner(), false))
|
||||
of tyExpr:
|
||||
result = addImplicitGeneric(newTypeS(tyGenericParam, c))
|
||||
else: nil
|
||||
|
||||
# result = liftingWalk(paramType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue