From a222354eac1e7bf976e106648d2daceba565fd38 Mon Sep 17 00:00:00 2001 From: Sainan Date: Thu, 24 Aug 2023 08:36:34 +0200 Subject: [PATCH] Remove Pluto_operator_extends disappearance message --- src/lparser.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lparser.cpp b/src/lparser.cpp index a4e84fc9e3..8375a489b8 100644 --- a/src/lparser.cpp +++ b/src/lparser.cpp @@ -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 ."); - } + lua_assert(f.k != VVOID); luaK_exp2nextreg(fs, &f); expdesc args = *v;