Skip to content

Commit

Permalink
Remove Pluto_operator_extends disappearance message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Aug 24, 2023
1 parent 78783ab commit a222354
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1521,11 +1521,7 @@ static void applyextends (LexState *ls, expdesc *v, TString *parent, int line) {

expdesc f;
singlevaraux(fs, luaS_newliteral(ls->L, "Pluto_operator_extends"), &f, 1);
//lua_assert(f.k != VVOID);
if (f.k == VVOID) {
luaX_prev(ls);
luaX_syntaxerror(ls, "It seems 'Pluto_operator_extends' has disappeared. If you know how to reproduce this, please get in touch at <https://github.com/PlutoLang/Pluto/issues>.");
}
lua_assert(f.k != VVOID);
luaK_exp2nextreg(fs, &f);

expdesc args = *v;
Expand Down

0 comments on commit a222354

Please sign in to comment.