improvements for nimfix
This commit is contained in:
parent
569fbe8c37
commit
c5dbcb548f
9 changed files with 37 additions and 12 deletions
|
|
@ -126,6 +126,7 @@ proc considerOverloadedOp(c: TLiftCtx; t: PType; x, y: PNode): bool =
|
|||
let op = t.attachedOps[c.kind]
|
||||
if op != nil:
|
||||
markUsed(c.info, op)
|
||||
styleCheckUse(c.info, op)
|
||||
case c.kind
|
||||
of attachedDestructor:
|
||||
c.result.add newDestructorCall(op, x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue