issue #214 since we haven't implemented boolean type annotation fully, the parser will no longer recognize the :boolean annotation.

pull/216/head
Dibyendu Majumdar 3 years ago
parent b5afdfaa46
commit 8fd3a1bbab

@ -1238,8 +1238,8 @@ static ravitype_t declare_localvar(LexState *ls, TString **pusertype) {
tt = RAVI_TTABLE;
else if (strcmp(str, "string") == 0)
tt = RAVI_TSTRING;
else if (strcmp(str, "boolean") == 0)
tt = RAVI_TBOOLEAN;
//else if (strcmp(str, "boolean") == 0)
// tt = RAVI_TBOOLEAN;
else if (strcmp(str, "any") == 0)
tt = RAVI_TANY;
else {

Loading…
Cancel
Save