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

Normalization should eliminate trivial dependencies on the class name #35

Open
fweimer opened this issue Aug 4, 2014 · 0 comments
Open

Comments

@fweimer
Copy link
Contributor

fweimer commented Aug 4, 2014

The normalization process does not treat class self-references specially (either references to the binary class name, or the name included in nested class names after $ mangling). As a result, the normalization depends on the name of the class. It would be nice if this could be avoided, so that copies of essentially the same class result in the same hash.
It might be interesting to extend this treatment to the package name, but if a copy of the class is created, it might still reference classes in the original package, so neither choice seems to have a clear advantage.

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

3 participants