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

Don't store values of Struct classes as instance variables #2401

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Dec 16, 2024

No description provided.

This requires a few workarounds with closures to get a piece of memory
to store the values.
Copy link
Member

@seven1m seven1m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, that's some wild metaprogramming there. 😅

@herwinw herwinw merged commit 339f26b into natalie-lang:master Dec 17, 2024
17 checks passed
@herwinw herwinw deleted the struct_instance_variables branch December 17, 2024 07:02
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