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

Safe navigation fails with blocks #3310

Closed
dabroz opened this issue Nov 30, 2016 · 0 comments
Closed

Safe navigation fails with blocks #3310

dabroz opened this issue Nov 30, 2016 · 0 comments

Comments

@dabroz
Copy link
Contributor

@dabroz dabroz commented Nov 30, 2016

Following code:

p [1,2,3]&.map{|ob|ob.to_s}

work correctly with CRuby (2.3.1):

["1", "2", "3"]

but fails with mruby master (8461a31):

#<Enumerator: [1, 2, 3]:collect>
@matz matz closed this as completed in f6d1999 Dec 3, 2016
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

1 participant