Open Hezaus opened 1 year ago
This is just weird. Although will error if you try to do it unless you do it with a dot instead of a colon. Reproduction code:
local function Assemble() return false :: ({ Function: (self: any) -> nil, Value: number, }) & (Text: string) -> nil end local Table = { ["Issue"] = Assemble() } Table:Issue:
Tested with strict mode on.
This is just weird. Although will error if you try to do it unless you do it with a dot instead of a colon. Reproduction code:
Tested with strict mode on.