Skip to content

Conversation

@oxinabox
Copy link

compat_hasmethod is hasmethod pre-julia 1.3, and static_hasmethod after.
It was added in Tricks v0.1.3, (and HyperTextLiterals.jl already required Tricks v0.1.6)

Technically this will cause a performance regression on julia 1.0-1.2,
since the old code used hasmethod insider a generated function.
But that was never sound, and would lead to incorrect behavour when new methods are added later interactively.
So this fixes those cases.

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.

1 participant