luau/Analysis
nothing1649 43c03168ea Analysis: Make typeof on a type userdata return "type"
This change introduces a flag (LuauUserTypeFunTypeofReturnsType) that, when enabled, sets __type on the type userdata's metatable to "type".
This behaviour was described in the user-defined type function RFC (https://rfcs.luau.org/user-defined-type-functions.html), but seems to have been missed; this change implements that behaviour.
2024-12-16 11:26:20 +11:00
..
include/Luau Sync to upstream/release/655 (#1563) 2024-12-13 13:02:30 -08:00
src Analysis: Make typeof on a type userdata return "type" 2024-12-16 11:26:20 +11:00