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

Overload precedence #8

Merged
merged 3 commits into from
Feb 5, 2014
Merged

Overload precedence #8

merged 3 commits into from
Feb 5, 2014

Conversation

haarg
Copy link
Contributor

@haarg haarg commented Feb 5, 2014

This fixes constructs like ArrayRef[Str] | HashRef[Str] in perls older than 5.14.

It does this by having [Str] | HashRef[Str] return a 'HalfOp' object, which parameterizable types know how to interpret.

tobyink added a commit that referenced this pull request Feb 5, 2014
Merging, though I'll need to remove 'use strictures' from the test case.
@tobyink tobyink merged commit bd61fb8 into tobyink:master Feb 5, 2014
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