diff options
author | Araq <rumpf_a@web.de> | 2011-07-28 00:53:52 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-07-28 00:53:52 +0200 |
commit | 2f066395baf0dd290bfdbb8ee47a64a17c932b14 (patch) | |
tree | 3cab7059beb39e763e64521b2c0f84983e64deb9 /compiler/msgs.nim | |
parent | e7135c449d065eaf3ea6d2ed06fd33cb62e5e44f (diff) | |
download | Nim-2f066395baf0dd290bfdbb8ee47a64a17c932b14.tar.gz |
bugfixes; step one for 'var T' as return type support
Diffstat (limited to 'compiler/msgs.nim')
-rwxr-xr-x | compiler/msgs.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim index b2ead1d9e..27b5c7f67 100755 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -56,7 +56,8 @@ type errResultCannotBeOpenArray, errSizeTooBig, errSetTooBig, errBaseTypeMustBeOrdinal, errInheritanceOnlyWithNonFinalObjects, errInheritanceOnlyWithEnums, errIllegalRecursionInTypeX, - errCannotInstantiateX, errExprHasNoAddress, errVarForOutParamNeeded, + errCannotInstantiateX, errExprHasNoAddress, errXStackEscape, + errVarForOutParamNeeded, errPureTypeMismatch, errTypeMismatch, errButExpected, errButExpectedX, errAmbiguousCallXYZ, errWrongNumberOfArguments, errXCannotBePassedToProcVar, errXCannotBeInParamDecl, errPragmaOnlyInHeaderOfProc, errImplOfXNotAllowed, @@ -227,6 +228,7 @@ const errIllegalRecursionInTypeX: "illegal recursion in type \'$1\'", errCannotInstantiateX: "cannot instantiate: \'$1\'", errExprHasNoAddress: "expression has no address", + errXStackEscape: "address of '$1' may not escape its stack frame", errVarForOutParamNeeded: "for a \'var\' type a variable needs to be passed", errPureTypeMismatch: "type mismatch", errTypeMismatch: "type mismatch: got (", |