some bugfixes; no system.$ for object as it breaks code

This commit is contained in:
Araq 2013-02-24 12:34:50 +01:00
commit c87e1c96ad
4 changed files with 11 additions and 10 deletions

View file

@ -85,7 +85,7 @@ proc resolveOverloads(c: PContext, n, orig: PNode,
#writeMatches(alt)
if c.inCompilesContext > 0:
# quick error message for performance of 'compiles' built-in:
GlobalError(n.Info, errAmbiguousCallXYZ, "")
GlobalError(n.Info, errGenerated, "ambiguous call")
elif gErrorCounter == 0:
# don't cascade errors
var args = "("