General

Profile

Eregon (Benoit Daloze)

  • Registered on: 07/30/2009
  • Last connection: 04/24/2019

Issues

Projects

Activity

04/24/2019

04:28 AM Ruby trunk Bug #15780: Module#const_defined?(String) executes autoloads
All stable versions have this bug. Eregon (Benoit Daloze)
04:26 AM Ruby trunk Bug #15780: Module#const_defined?(String) executes autoloads
I can confirm the bug. Here is a single-line reproducer:
```
$ ruby -e 'autoload :X, "foo"; p Object.const_defined?...
Eregon (Benoit Daloze)

04/20/2019

02:43 PM Ruby trunk Feature #15778: Expose an API to pry-open the stack frames in Ruby
I discussed with @gsamokovarov at RubyKaigi and I think this is a good idea and `Thread::Backtrace::Location#binding`... Eregon (Benoit Daloze)

04/18/2019

10:25 PM Ruby trunk Feature #14844: Future of RubyVM::AST?
Eregon (Benoit Daloze) wrote:
> I think we should have nodes with methods to access each part/field, such as ModuleD...
Eregon (Benoit Daloze)

04/17/2019

05:05 AM Ruby trunk Feature #14183: "Real" keyword argument
With Jeremy's proposal, I think there is no need to support non-Symbol keywords.
I think in the case of ActiveRecord...
Eregon (Benoit Daloze)

04/16/2019

11:19 PM Ruby trunk Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
I agree with @shyouhei.
I think it breaks fundamental semantics of Ruby.
An explicit `add` or `add!` is I believe a...
Eregon (Benoit Daloze)

04/13/2019

10:09 AM Ruby trunk Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> I'm not sure what led you to this statement, as the feature does work with lamb...
Eregon (Benoit Daloze)

04/12/2019

10:38 PM Ruby trunk Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> The behavior changes if `foo` is a local variable:
> ```ruby
> foo = 1
> pr...
Eregon (Benoit Daloze)
08:29 PM Ruby trunk Misc #15723: Reconsider numbered parameters
headius (Charles Nutter) wrote:
> Conflicts with bitwise AND, doesn't it?
No, binary operators already care about...
Eregon (Benoit Daloze)
08:08 PM Ruby trunk Misc #15723: Reconsider numbered parameters
Another idea for syntax, already mentioned in https://bugs.ruby-lang.org/issues/4475#note-12 : &1, &2, etc.
`&` as...
Eregon (Benoit Daloze)

Also available in: Atom