Disallow coercion to/from char[] and any[].

This commit is contained in:
David Anderson
2014-12-14 02:00:58 -08:00
parent 5a814c40b3
commit bab1110bc0
9 changed files with 57 additions and 3 deletions
+2
View File
@@ -221,6 +221,8 @@ static const char *errmsg[] = {
/*175*/ "constructors cannot be static\n",
/*176*/ "non-static method or property '%s' must be called with a value of type '%s'\n",
/*177*/ "static method '%s' must be invoked via its type (try '%s.%s')\n",
/*178*/ "cannot coerce %s[] to %s[]; storage classes differ\n",
/*179*/ "cannot assign %s[] to %s[], storage classes differ\n",
#else
"\315e\306\227\266k\217:\235\277bu\201fo\220\204\223\012",
"\202l\224\250s\205g\346\356e\233\201(\243\315\214\267\202) \253 f\255low ea\305 \042c\353e\042\012",