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

Idea: Check if let is equivalent to super() #83

Open
dgollahon opened this issue May 23, 2023 · 0 comments
Open

Idea: Check if let is equivalent to super() #83

dgollahon opened this issue May 23, 2023 · 0 comments

Comments

@dgollahon
Copy link
Owner

This is tricky and might cause crashes or false positives but this could either take the form of trying to locate and parse the source and seeing if the implementation is the same or (more useful) calling super() and introspecting on the results. The problem with the latter is that it might not be valid. We could rescue any errors and only compare on success but my guess is that it would make rspectre less stable to even try this. It might make an interesting separate subcommand or opt-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant