This commit is contained in:
Araq 2014-06-30 23:36:46 +02:00
commit 3c818c89be
10 changed files with 55 additions and 99 deletions

View file

@ -287,7 +287,7 @@ proc applyRule*(c: PContext, s: PSym, n: PNode): PNode =
# constraint not fullfilled:
if not ok: return nil
markUsed(n, s)
markUsed(n.info, s)
if ctx.subMatch:
assert m.len == 3
m.sons[1] = result