-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Cannot iterate over a Range of Times #4231
Comments
How peculiar...we have code that explicitly checks for Time and raises this error. |
So it looks like MRI does not actually trigger iteration for the
This is telling me that what you expect may not be correct. MRI does appear to try to prevent iteration over a range of Time. |
Ok, I found the logic. MRI allows Time ranges to use |
Thanks for the quick fix @headius! |
Environment
jruby 9.0.5.0 (2.2.3) 2016-01-26 7bee00d Java HotSpot(TM) 64-Bit Server VM 25.92-b14 on 1.8.0_92-b14 [darwin-x86_64]
jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f Java HotSpot(TM) 64-Bit Server VM 25.92-b14 on 1.8.0_92-b14 [darwin-x86_64]
jruby 9.1.5.0 (2.3.1) 2016-09-07 036ce39 Java HotSpot(TM) 64-Bit Server VM 25.92-b14 on 1.8.0_92-b14 [darwin-x86_64]
Expected Behavior
Under MRI 2.2+
Actual Behavior
The text was updated successfully, but these errors were encountered: