diff --git a/VM/src/ldebug.cpp b/VM/src/ldebug.cpp index 44da57c2b..f6c89111c 100644 --- a/VM/src/ldebug.cpp +++ b/VM/src/ldebug.cpp @@ -121,7 +121,7 @@ static Closure* auxgetinfo(lua_State* L, const char* what, lua_Debug* ar, Closur { TString* source = f->l.p->source; ar->source = getstr(source); - ar->what = "Lua"; + ar->what = "Luau"; ar->linedefined = f->l.p->linedefined; ar->short_src = luaO_chunkid(ar->ssbuf, sizeof(ar->ssbuf), getstr(source), source->len); } diff --git a/tests/Conformance.test.cpp b/tests/Conformance.test.cpp index 1675cdd2c..a363d08d4 100644 --- a/tests/Conformance.test.cpp +++ b/tests/Conformance.test.cpp @@ -2381,7 +2381,7 @@ TEST_CASE("IfElseExpression") // Optionally returns debug info for the first Luau stack frame that is encountered on the callstack. static std::optional getFirstLuauFrameDebugInfo(lua_State* L) { - static std::string_view kLua = "Lua"; + static std::string_view kLua = "Luau"; lua_Debug ar; for (int i = 0; lua_getinfo(L, i, "sl", &ar); i++) {