enforce the covariance rules for user-defined generic types

This commit is contained in:
Zahary Karadjov 2017-05-13 14:38:07 +03:00
commit 0aede22e87
5 changed files with 105 additions and 17 deletions

View file

@ -381,7 +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",
errInOutFlagNotExtern: "The `$1` modifier can be used only with imported types",
errUser: "$1",
warnCannotOpenFile: "cannot open \'$1\'",
warnOctalEscape: "octal escape sequences do not exist; leading zero is ignored",