summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/msgs.nim')
-rwxr-xr-xcompiler/msgs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim
index 74267c059..0ad79f597 100755
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -226,7 +226,7 @@ const
     errOrdXMustNotBeNegative: "ord($1) must not be negative", 
     errLenXinvalid: "len($1) must be less than 32768",
     errWrongNumberOfVariables: "wrong number of variables", 
-    errExprCannotBeRaised: "only objects can be raised", 
+    errExprCannotBeRaised: "only a 'ref object' can be raised", 
     errBreakOnlyInLoop: "'break' only allowed in loop construct", 
     errTypeXhasUnknownSize: "type \'$1\' has unknown size", 
     errConstNeedsConstExpr: "a constant can only be initialized with a constant expression",