General

Profile

coyote (Alexey Babich)

Issues

Activity

05/03/2016

12:36 PM Ruby trunk Feature #9999: Type Annotations (Static Type Checking)
Nobuyoshi Nakada wrote:
> Alexey Babich wrote:
> > ~~~ruby
> > def ReturnType method(Type value: default, ...)
> ...
09:33 AM Ruby trunk Feature #9999: Type Annotations (Static Type Checking)
**For usage level**:
Static type checking looks most useful as syntax pre-compilation feature to speed-up code execu...

07/10/2014

01:44 PM Ruby trunk Bug #10023: Hash#merge fails duplicating objects
Please, note that only Rails' `deep_dup` seems helpful to workaround the issue
01:42 PM Ruby trunk Bug #10023: Hash#merge fails duplicating objects
The same with duplication
>> c=A.dup #same .clone
=> {:b=>{}}
>> c.merge!({c: {d: 'e'}})
=> {:b=>{}, :c=>{:d=>"...
01:38 PM Ruby trunk Bug #10023: Hash#merge fails duplicating objects
Please, also note that Rails' `deep_merge` does not help
01:36 PM Ruby trunk Bug #10023 (Rejected): Hash#merge fails duplicating objects
Here is an example in IRB (ruby 2.1.2):
>> A={b:{}}
=> {:b=>{}}
>> c=A.merge({c: {d: 'e'}})
=> {:b=>{}, :c=>{:d=>...

Also available in: Atom