implemented generic multi methods
This commit is contained in:
parent
c9690864d4
commit
c43697b59a
9 changed files with 81 additions and 31 deletions
|
|
@ -186,6 +186,7 @@ proc generateInstance(c: PContext, fn: PSym, pt: TIdTable,
|
|||
popOwner()
|
||||
c.friendModule = oldFriend
|
||||
dec(c.InstCounter)
|
||||
if result.kind == skMethod: finishMethod(c, result)
|
||||
|
||||
proc instGenericContainer(c: PContext, n: PNode, header: PType): PType =
|
||||
var cl: TReplTypeVars
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue