You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this was removed when table.freeze was added, but table.freeze only fulfills what __newindex did. It does not error if you index a nil value.
In my opinion, it is fairly useful for debugging, especially if you are changing around the Enum names around quite a bit. I had to spend 20 mins to debug an issue related to this, and it would be nice if the behavior matched that of the Roblox Enums, which error if you try to index for a non-existent Enum.
The text was updated successfully, but these errors were encountered:
I believe this was removed when table.freeze was added, but table.freeze only fulfills what __newindex did. It does not error if you index a nil value.
In my opinion, it is fairly useful for debugging, especially if you are changing around the Enum names around quite a bit. I had to spend 20 mins to debug an issue related to this, and it would be nice if the behavior matched that of the Roblox Enums, which error if you try to index for a non-existent Enum.
The text was updated successfully, but these errors were encountered: