Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore support for namespaces that are not hashable
2.5.0 introduced a hash table whose keys were pairs (parent, cname), in order to be able to say if a given pair had an autoload set by us. That broke a project that has a namespace with the `hash` method overridden with a different arity. Hence, not hashable. This patch restores the structure used in 2.4, and implements a different way to answer that question. Indeed, this alternative is simpler. Fixes #188.
- Loading branch information
Showing
5 changed files
with
39 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters