summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-08-26 21:53:56 +0300
committerZahary Karadjov <zahary@gmail.com>2013-08-26 23:29:24 +0300
commit28d9398de7f70560254f120ae522e0a4df81576b (patch)
tree3e41d2e13f40e45a5bbd1feb5fb258c797ea2aec /compiler/msgs.nim
parent89086a8e19292ad986baa808ff42ccad32bf2636 (diff)
downloadNim-28d9398de7f70560254f120ae522e0a4df81576b.tar.gz
implemented delegators and improved the error messages of unmatched type classes
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r--compiler/msgs.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 3e5304358..47a4d284b 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -89,6 +89,7 @@ type
     errInvalidSectionStart, errGridTableNotImplemented, errGeneralParseError, 
     errNewSectionExpected, errWhitespaceExpected, errXisNoValidIndexFile, 
     errCannotRenderX, errVarVarTypeNotAllowed, errInstantiateXExplicitely,
+    errOnlyACallOpCanBeDelegator,
     
     errXExpectsTwoArguments, 
     errXExpectsObjectTypes, errXcanNeverBeOfThisSubtype, errTooManyIterations, 
@@ -316,6 +317,7 @@ const
     errCannotRenderX: "cannot render reStructuredText element \'$1\'", 
     errVarVarTypeNotAllowed: "type \'var var\' is not allowed",
     errInstantiateXExplicitely: "instantiate '$1' explicitely",
+    errOnlyACallOpCanBeDelegator: "only a call operator can be a delegator",
     errXExpectsTwoArguments: "\'$1\' expects two arguments", 
     errXExpectsObjectTypes: "\'$1\' expects object types",
     errXcanNeverBeOfThisSubtype: "\'$1\' can never be of this subtype",