diff options
author | Araq <rumpf_a@web.de> | 2014-09-10 09:48:18 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-09-10 09:48:18 +0200 |
commit | c5dbcb548fe5b005594d3e6d1c266d3ec7eb13a2 (patch) | |
tree | 2ffc10ee5f5195af3d547007533bf90aa96776e4 /compiler/semasgn.nim | |
parent | 569fbe8c37d99a3adf966527b2650369dfec2dd0 (diff) | |
download | Nim-c5dbcb548fe5b005594d3e6d1c266d3ec7eb13a2.tar.gz |
improvements for nimfix
Diffstat (limited to 'compiler/semasgn.nim')
-rw-r--r-- | compiler/semasgn.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semasgn.nim b/compiler/semasgn.nim index 2c77bff7b..483d36bf3 100644 --- a/compiler/semasgn.nim +++ b/compiler/semasgn.nim @@ -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) |