fixes the integer conversion regressions

This commit is contained in:
Araq 2015-01-13 20:55:03 +01:00
commit 20774ad43c
7 changed files with 29 additions and 26 deletions

View file

@ -72,6 +72,9 @@ proc pickBestCandidate(c: PContext, headSymbol: PNode,
if cmp < 0: best = z # x is better than the best so far
elif cmp == 0: alt = z # x is as good as the best so far
else: discard
#if sym.name.s == "shl" and (n.info ?? "net.nim"):
# echo "Matches ", n.info, " ", typeToString(sym.typ)
# writeMatches(z)
sym = nextOverloadIter(o, c, headSymbol)
proc notFoundError*(c: PContext, n: PNode, errors: CandidateErrors) =