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
ReferenceType.equals() returns incorrectly returns true when symbolFullyQualifiedName fields are different #1383
Comments
This one is probably going to be a wontfix - reference types are changing in 0.20 to use symbols instead of fully qualified names, so it won't apply anymore. |
Thanks for the quick response. I've actually already prepared a change with tests. Let me know if you're interested and I can submit a PR (the test may/may not be useful going forward). |
Go ahead and submit it - There might need to be another 0.19 release before 0.20 comes, so it would be valuable there :) |
Search terms
ReferenceType, equals, symbolFullyQualifiedName
Expected Behavior
ReferenceType.equals()
should return false whensymbolFullyQualifiedName
isn't equal.Example:
Actual Behavior
ReferenceType.equals()
returns true becausereflection
on both types areundefined
and satisfies the|| other.reflection === this.reflection
condition.Steps to reproduce the bug
Environment
The text was updated successfully, but these errors were encountered: