mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-04 03:01:41 +00:00
Merge fix
This commit is contained in:
parent
47172282ad
commit
6a8da816f4
1 changed files with 0 additions and 6 deletions
|
@ -1575,12 +1575,6 @@ void registerTypeUserData(lua_State* L)
|
||||||
lua_setfield(L, -2, "__type");
|
lua_setfield(L, -2, "__type");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FFlag::LuauUserTypeFunTypeofReturnsType)
|
|
||||||
{
|
|
||||||
lua_pushstring(L, "type");
|
|
||||||
lua_setfield(L, -2, "__type");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Protect metatable from being changed
|
// Protect metatable from being changed
|
||||||
lua_pushstring(L, "The metatable is locked");
|
lua_pushstring(L, "The metatable is locked");
|
||||||
lua_setfield(L, -2, "__metatable");
|
lua_setfield(L, -2, "__metatable");
|
||||||
|
|
Loading…
Add table
Reference in a new issue