Skip to content

Conversation

@willtebbutt
Copy link
Member

…hat are callable, but aren't subtypes of Function.

method construction (line 100 of methods.jl) previously imposed the constraint that method only accepts subtypes of Function as the first argument. This is a problem because it is perfectly possible to define a thing that is not a subtype of Function, but is nonetheless callable. This PR therefore removes this constraint entirely.

…hat are callable, but aren't subtypes of Function.
@willtebbutt willtebbutt requested a review from wesselb January 18, 2018 20:41
Copy link
Member

@wesselb wesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, very sensible. Let's merge this.

@wesselb wesselb merged commit 9b16c0b into master Jan 19, 2018
@wesselb wesselb deleted the generalise_to_non_functions branch January 19, 2018 15:37
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.

3 participants