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
This is an extension of this discussion, which was resolved to support __index
Why support this syntax at all? No need to store r#type as a struct member.
This is for greater discussion on supporting syntactic sugar such as type, format
I have am having trouble with using methods.add_meta_method("__newindex", ... which is holding back most of the work on syntactic sugar. Either convert this to get_type or a method rather than a "field"
If we remove it be sure to remove r#type declarations here
A consideration for adding support is that we must consider method accesses as well (they are themselves a user of "__newindex", which complicates this implementation
The text was updated successfully, but these errors were encountered:
This is an extension of this discussion, which was resolved to support __index
Originally posted by @codyduong in #9 (comment)
A consideration for adding support is that we must consider method accesses as well (they are themselves a user of "__newindex", which complicates this implementation
The text was updated successfully, but these errors were encountered: