From 6a8da816f48eab3bfc527ced2c37af6a7fc6be87 Mon Sep 17 00:00:00 2001 From: Vyacheslav Egorov Date: Fri, 21 Feb 2025 16:38:04 +0200 Subject: [PATCH] Merge fix --- Analysis/src/TypeFunctionRuntime.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Analysis/src/TypeFunctionRuntime.cpp b/Analysis/src/TypeFunctionRuntime.cpp index 759aba52..6ba5f261 100644 --- a/Analysis/src/TypeFunctionRuntime.cpp +++ b/Analysis/src/TypeFunctionRuntime.cpp @@ -1568,12 +1568,6 @@ void registerTypeUserData(lua_State* L) // Create and register metatable for type userdata luaL_newmetatable(L, "type"); - - if (FFlag::LuauUserTypeFunTypeofReturnsType) - { - lua_pushstring(L, "type"); - lua_setfield(L, -2, "__type"); - } if (FFlag::LuauUserTypeFunTypeofReturnsType) {