General

Profile

matsuda (Akira Matsuda)

  • Email: ronnie@dio.jp
  • Registered on: 07/25/2008
  • Last connection: 05/24/2019

Issues

Projects

Activity

05/24/2019

11:02 PM Ruby trunk Bug #15875: const_defined? behavior inconsistency in 2.6.x series
### Side Note #1
`const_get()` could get this constant for all released versions, but has been intentionally chang...
matsuda (Akira Matsuda)
10:59 PM Ruby trunk Bug #15875 (Open): const_defined? behavior inconsistency in 2.6.x series
`Module#const_defined?` returns true for unreachable nested fully qualified module name.
Here are the results of `co...
matsuda (Akira Matsuda)

03/01/2018

01:15 AM Ruby trunk Bug #14562 (Closed): Do not warn for assignment in conditionals inside ()
Ruby warns against this code, which is very helpful.
```
% ruby -we 'if a=1; p a; end'
-e:1: warning: found = in...
matsuda (Akira Matsuda)

12/04/2017

08:50 AM Ruby trunk Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
> I'm not sure this name is proper, suggestions appreciated
How about "to_formatted_s"?
Active Support has this m...
matsuda (Akira Matsuda)

10/17/2017

12:16 AM Ruby trunk Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
Yes, in my understanding that is exactly the case we use this idiom for, usually when the contents of ERB is user-giv... matsuda (Akira Matsuda)

10/16/2017

02:23 AM Ruby trunk Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
This is not a bug. The warning you see is a result of an improvement of "unused variable" detection at r59585.
Now i...
matsuda (Akira Matsuda)

09/13/2017

11:35 PM Ruby trunk Bug #10222: require_relative and require should be compatible with each other when symlinks are used
Here's an actual use case that we saw in Rails: https://github.com/rails/rails/pull/29638#issuecomment-321335175
The...
matsuda (Akira Matsuda)

02/22/2017

04:17 PM Ruby trunk Bug #13237: Behavior for #dup and #clone on Rational/Complex/BigDecimal differs from Integer/Float
Will this be backported to 2.4? (IOW is this 2.4.0 bug or 2.5 new feature?) matsuda (Akira Matsuda)

02/17/2017

10:59 AM Ruby trunk Bug #13222 (Closed): Array#sum inconsistency when init value is non-numeric
Since Array#sum skips calling plus for `0` https://github.com/ruby/ruby/blob/c85a58d/array.c#L5831-L5832, it doesn't ... matsuda (Akira Matsuda)

01/14/2017

05:21 PM Ruby trunk Feature #13129 (Assigned): Refinements cannot refine method_missing and respond_to_missing?
Refinements with method_missing and respond_to_missing? behaves very strangely.
```ruby
class C; end
using Mod...
matsuda (Akira Matsuda)

Also available in: Atom