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

Add mechanism to hooks to report "true" source location #1397

Open
dgollahon opened this issue Aug 3, 2023 · 0 comments
Open

Add mechanism to hooks to report "true" source location #1397

dgollahon opened this issue Aug 3, 2023 · 0 comments

Comments

@dgollahon
Copy link
Sponsor Collaborator

Macros like the memoize macro from memoizable redefine methods with a small wrapper method. Unfortunately, this confuses mutant and breaks proper insertion. I have several cases of a macro like this and currently have to monkey patch and extend logic like this that mutant already does for Sorbet, etc.. It would be very helpful if there were a public API option for this so I wouldn't have to maintain an awkward patch.

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

No branches or pull requests

1 participant