General

Profile

marcandre (Marc-Andre Lafortune)

Issues

Projects

Activity

05/01/2018

11:00 PM Ruby trunk Feature #14697: Introducing Range#% as an alias to Range#step
I understand.
I guess it's a way to make `Enumerator::ArithmeticSequence` even more "core", even if it's rarely used...

04/28/2018

03:55 PM Ruby trunk Feature #12912: An endless range `(1..)`
nobu (Nobuyoshi Nakada) wrote:
> Why is `(1..).size` `nil`, but not `Float::INFINITY`?
It's a bug, see #14699

04/27/2018

09:24 PM Ruby trunk Bug #14719 (Rejected): FalseClass wrapped in a SimpleDelegator evaluates to true in an IF statement
I'm afraid you can not achieve what you want to achieve in Ruby. The only two objects that are falsy in Ruby are `nil...

04/19/2018

05:24 PM Ruby trunk Bug #14699: Subtle behaviors with endless range
I believe `(0..).max(3)` and `(0..).max {|a, b| a <=> b }` can not return `nil`. They should either hang or (seems mo...
02:18 PM Ruby trunk Feature #14697: Introducing Range#% as an alias to Range#step
I am not convinced that `step` is used enough to justify this. I know I basically never use it. Here's the number of ...

04/12/2018

05:11 AM Ruby trunk Bug #14674: New mismatched indentations warnings?
I strongly believe that it is not Ruby's parser job to warn us about styling, especially if there's no strong reason ...

04/10/2018

05:43 PM Ruby trunk Bug #14674 (Closed): New mismatched indentations warnings?
I recently got a failure in my test suite because ruby head warns of indentation it considers mismatched:
```
$ r...

03/28/2018

02:08 PM Ruby trunk Bug #14639: Array#map and lambda arity regression
Good checking.
Indeed, #9605 introduced lambda arity relaxation and this announced in the 2.2 NEWS.
Looks like ...

03/27/2018

05:20 PM Ruby trunk Bug #5273: Float#round returns the wrong floats for higher precision
mame (Yusuke Endoh) wrote:
> Marc-Andre, let me know if I am wrong.
I agree with everything you wrote :-)

03/07/2018

08:23 PM Ruby trunk Bug #14583 (Feedback): #method() is reporting the wrong self in exception
Oops, misread your report, sorry. Previous answer removed.
Now I'd say that it's a third party issue (pry), unless...

Also available in: Atom