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) {