Skip to content

ModuleDispatcher: dispatch on symbols (module name) instead of dispatching on modules #127

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DilumAluthge
Copy link
Member

Support for older Julia versions was dropped recently in order to be able to dispatch on modules.

Instead of dispatching on modules, could we dispatch on symbols? This would allow us to restore support for older Julia versions/

@ericphanson
Copy link
Member

We would need to revert #122 and add back Compat as a dependency. What versions of Julia do you need?

@ericphanson
Copy link
Member

The other issue with symbols is there could be clashes, because we check at every level of nesting. So I’d rather the more accurate version. But we could have a global IdDict and register stuff there or something like that.

However for me part of the motivation was just dropping Compat.jl to remove another dep and simplifying by only supporting the LTS and newer.

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

Successfully merging this pull request may close these issues.

2 participants