idetools improvements

This commit is contained in:
Araq 2012-08-03 17:33:44 +02:00
commit 79aaf213d6
10 changed files with 53 additions and 35 deletions

View file

@ -71,7 +71,7 @@ proc resolveOverloads(c: PContext, n, orig: PNode,
#writeMatches(alt)
if c.inCompilesContext > 0:
# quick error message for performance of 'compiles' built-in:
LocalError(n.Info, errAmbiguousCallXYZ, "")
GlobalError(n.Info, errAmbiguousCallXYZ, "")
else:
var args = "("
for i in countup(1, sonsLen(n) - 1):