concept type params inference working in basic examples
This commit is contained in:
parent
0d8a503e45
commit
66e0f0e19c
5 changed files with 93 additions and 2 deletions
|
|
@ -883,7 +883,8 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode,
|
|||
for i in 1 .. <paramType.len:
|
||||
let lifted = liftingWalk(paramType.sons[i])
|
||||
if lifted != nil: paramType.sons[i] = lifted
|
||||
when false:
|
||||
|
||||
if paramType.base.lastSon.kind == tyUserTypeClass:
|
||||
let expanded = instGenericContainer(c, info, paramType,
|
||||
allowMetaTypes = true)
|
||||
result = liftingWalk(expanded, true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue