Merge fix

This commit is contained in:
Vyacheslav Egorov 2025-02-21 16:38:04 +02:00
parent 47172282ad
commit 6a8da816f4

View file

@ -1568,12 +1568,6 @@ void registerTypeUserData(lua_State* L)
// Create and register metatable for type userdata // Create and register metatable for type userdata
luaL_newmetatable(L, "type"); luaL_newmetatable(L, "type");
if (FFlag::LuauUserTypeFunTypeofReturnsType)
{
lua_pushstring(L, "type");
lua_setfield(L, -2, "__type");
}
if (FFlag::LuauUserTypeFunTypeofReturnsType) if (FFlag::LuauUserTypeFunTypeofReturnsType)
{ {