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

Proc#>> and << are not supported #1688

Closed
deepj opened this issue May 9, 2019 · 5 comments
Closed

Proc#>> and << are not supported #1688

deepj opened this issue May 9, 2019 · 5 comments
Assignees
Milestone

Comments

@deepj
Copy link

deepj commented May 9, 2019

This is a new feature in Ruby 2.6. The proc's function composition is used in dry-monads spec when 2.6 is available. See https://github.com/dry-rb/dry-monads/blob/6ca973c87c65e1526bfd4b671a8229319ce00bb1/spec/unit/maybe_spec.rb#L53

This causes some troubles to run some specs in TruffleRuby "supporting Ruby 2.6"

@aardvark179 aardvark179 self-assigned this May 10, 2019
@aardvark179
Copy link
Contributor

Yes, spotted that one. 😄

There's a couple of other small issues that need fixing as well.

@deepj
Copy link
Author

deepj commented May 11, 2019

@aardvark179 yeah, I know about them. I don't report everything :) This issue is reported after ~2 months what I know about it.

@deepj
Copy link
Author

deepj commented Jul 2, 2019

@eregon @chrisseaton Hello, can you make this priority since this uses a lot of specs in dry-types/dry-schemas, please?

@deepj deepj changed the title Proc#>> is not supported Proc#>> and << are not supported Jul 2, 2019
@chrisseaton
Copy link
Collaborator

Fix on the way.

@chrisseaton
Copy link
Collaborator

Fixed in 70722f6.

@eregon eregon added this to the 19.2.0 milestone Aug 23, 2019
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

No branches or pull requests

4 participants