-
-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
Since now there is no difference between {} and [], it's impossible to implement a stable Array.isArray. Transpling array literals to setmetatable({}, ____arrayMetatable) gives required data for Array.isArray and doesn't affect performance too much.
A major issue is that there would be a need for a new decorator (or a type) to mark functions that return standard lua arrays, and then set the metatable of returned values.
Metadata
Metadata
Assignees
Labels
No labels