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

[ruby] Implement hashCode for RubyExpression #4986

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

DavidBakerEffendi
Copy link
Collaborator

RubyExpression nodes don't inherently consider the span in the calculation of its hash, so when put into any hashed context, nodes that only rely on span alone will collide in these contexts.

 `RubyExpression` nodes don't inherently consider the `span` in the calculation of its hash, so when put into any hashed context, nodes that only rely on `span` alone will collide in these contexts.
@DavidBakerEffendi DavidBakerEffendi merged commit 3aab593 into master Oct 2, 2024
5 checks passed
@DavidBakerEffendi DavidBakerEffendi deleted the dave/ruby/fix-hashing-ruby-expr branch October 2, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Relates to rubysrc2cpg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants