General

Profile

marcandre (Marc-Andre Lafortune)

Issues

Projects

Activity

01/16/2020

07:32 PM Ruby master Bug #8841: Module#included_modules and prepended modules
Thank you.
I clarified the documentation to reflect this.
marcandre (Marc-Andre Lafortune)

01/13/2020

02:27 PM Ruby master Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
mame (Yusuke Endoh) wrote:
> Okay, I'll ask matz which is right. But I believe that the 2.6 and current behavior is...
marcandre (Marc-Andre Lafortune)

01/11/2020

10:44 PM Ruby master Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
> I believe exactly 0 people want foo { return 42 } to change its meaning based on whether foo calls define_method or... marcandre (Marc-Andre Lafortune)

01/04/2020

11:09 PM Ruby master Feature #16468: Switch to Miller-Rabin for Prime.prime?
Interesting. We might as well always return the correct result, i.e. apply the fast algorithm for integers < 318,665,... marcandre (Marc-Andre Lafortune)

01/02/2020

07:06 PM Ruby master Bug #16472: OStruct documentation is lost
You're welcome to provide a PR on the core repo.
I will update `ruby/ostruct`
marcandre (Marc-Andre Lafortune)

12/27/2019

08:35 PM Ruby master Feature #5481: Gemifying Ruby standard library
hsbt (Hiroshi SHIBATA) wrote (over 1 year ago):
> > @marcandre
>
> >do the commits need to be done in the gem’s g...
marcandre (Marc-Andre Lafortune)
08:33 PM Ruby master Feature #5481: Gemifying Ruby standard library
@hsbt ah, thanks, I didn't know about `ruby tool/sync_default_gems.rb`. I doubled checked the code and the algorithm ... marcandre (Marc-Andre Lafortune)
07:54 PM Ruby master Bug #16457 (Rejected): Invisible keys on hash when defining hash with Hash.new({})
This is as per spec.
You typically never want a hash's default to be mutable. Try to name that default in your hea...
marcandre (Marc-Andre Lafortune)
07:46 PM Ruby master Bug #16458 (Rejected): Ruby 2.7 warning firing in the wrong situations
The method is defined in line *146*, i.e. it is `nil`'s `#try` method:
```
def try(_method_name = nil, *, **)
...
marcandre (Marc-Andre Lafortune)

12/23/2019

09:49 PM Ruby master Feature #16289 (Closed): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Great, thanks.
Pushed.
marcandre (Marc-Andre Lafortune)

Also available in: Atom