summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-02-24 12:34:50 +0100
committerAraq <rumpf_a@web.de>2013-02-24 12:34:50 +0100
commitc87e1c96ad1c22c3d051bbf7254e7a92360116b6 (patch)
treecbab4357fab8e1b90a26dcb1db04ead245053312 /compiler
parent6cbd5bb017337801ac7985e8a95834a6cc6ef73a (diff)
downloadNim-c87e1c96ad1c22c3d051bbf7254e7a92360116b6.tar.gz
some bugfixes; no system.$ for object as it breaks code
Diffstat (limited to 'compiler')
-rwxr-xr-xcompiler/semcall.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim
index 67d157261..68c627a39 100755
--- a/compiler/semcall.nim
+++ b/compiler/semcall.nim
@@ -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 = "("