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

Fix zombifier on memoized methods #1458

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Fix zombifier on memoized methods #1458

merged 2 commits into from
Oct 15, 2024

Conversation

mbj
Copy link
Owner

@mbj mbj commented Oct 15, 2024

  • When mutant runs zombified (for self tests) the Zombie::Mutant namespace tests the Mutant namespace.
  • So when the Zombie::Mutant runs it has to be able to reference the "regular" Adamantium not the zombified when testing if a memoized method has to be unwound.

@mbj mbj force-pushed the fix/zombifier-on-memoized branch 2 times, most recently from acffc98 to 315f39b Compare October 15, 2024 00:34
mbj added 2 commits October 15, 2024 00:39
* When mutant runs zombified (for self tests) the `Zombie::Mutant` namespace tests
  the `Mutant` namespace.
* So when the `Zombie::Mutant` runs it has to be able to reference the "regular" `Adamantium` not the
  zombified when testing if a memoized method has to be unwound.
@mbj mbj force-pushed the fix/zombifier-on-memoized branch from 315f39b to 8bcbafe Compare October 15, 2024 00:40
@mbj mbj merged commit a0ff19a into main Oct 15, 2024
39 checks passed
@mbj mbj deleted the fix/zombifier-on-memoized branch October 15, 2024 00:43
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.

1 participant