summary refs log tree commit diff stats
path: root/compiler/msgs.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2017-05-08 21:45:37 +0300
committerZahary Karadjov <zahary@gmail.com>2017-05-08 21:45:37 +0300
commit5e368f36390a8164abbedf2f6c79ead0f510df29 (patch)
treecd4aeececfec7a16722430458e336a4f3523f7c7 /compiler/msgs.nim
parent2a3455259618723b9a748b16e2fccf2a06b0c9cb (diff)
downloadNim-5e368f36390a8164abbedf2f6c79ead0f510df29.tar.gz
support for external types with covariant generic params
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 3a97f1ed2..1842ce1de 100644
--- a/compiler/msgs.nim
+++ b/compiler/msgs.nim
@@ -113,6 +113,7 @@ type
     errGenericLambdaNotAllowed,
     errProcHasNoConcreteType,
     errCompilerDoesntSupportTarget,
+    errInOutFlagNotExtern,
     errUser,
     warnCannotOpenFile,
     warnOctalEscape, warnXIsNeverRead, warnXmightNotBeenInit,
@@ -380,6 +381,7 @@ const
                                 "of the generic paramers can be inferred from the expected signature.",
     errProcHasNoConcreteType: "'$1' doesn't have a concrete type, due to unspecified generic parameters.",
     errCompilerDoesntSupportTarget: "The current compiler \'$1\' doesn't support the requested compilation target",
+    errInOutFlagNotExtern: "`in` and `out` flags can be used only with imported types",
     errUser: "$1",
     warnCannotOpenFile: "cannot open \'$1\'",
     warnOctalEscape: "octal escape sequences do not exist; leading zero is ignored",