Skip to content

Commit

Permalink
issue #214 since we haven't implemented boolean type annotation fully…
Browse files Browse the repository at this point in the history
…, the parser will no longer recognize the :boolean annotation.
  • Loading branch information
dibyendumajumdar committed Feb 20, 2021
1 parent b5afdfa commit 8fd3a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lparser.c
Expand Up @@ -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 {
Expand Down

0 comments on commit 8fd3a1b

Please sign in to comment.