Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Data in Marshal #2385

Merged
merged 5 commits into from
Dec 14, 2024
Merged

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Dec 13, 2024

Where Data means the new and improved Struct from Ruby 3.2

This change includes a lot of additional yak shaves, this supports loading Structs, implements Data#== and fixes constant lookups for nested namespaces.

This includes a change to make the classes generated with Data.define
subclasses of Data.
This is a bit of hack, it should be fixed in const_get instead.
@herwinw herwinw merged commit 9942374 into natalie-lang:master Dec 14, 2024
17 checks passed
@herwinw herwinw deleted the marshal_dump_data branch December 14, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants