General

Profile

agrimm (Andrew Grimm)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 21 21

Activity

05/06/2014

11:01 PM Ruby Bug #5828: Non anonymous classes can't be frozen, cloned and then inspected
I'm happy for this bug to be closed, as I don't have a need to freeze and clone a class. agrimm (Andrew Grimm)

01/02/2014

09:11 AM Ruby Bug #9340 (Closed): Document order related behavior in Array#uniq
The behavior of Array#uniq without a block in Ruby 2.1.0 is inconsistent with the behavior of Array#uniq in Ruby 2.0.0, and with the behavior of Array#uniq with a block in Ruby 2.1.0.
Array#uniq without a block in Ruby 2.1.0 returns t...
agrimm (Andrew Grimm)

10/03/2013

11:08 AM Ruby Bug #8975: Confusing code sample for assert_send
To be honest, it's not so much a "legacy app" issue as a "legacy programmer" issue.
I started programming back in Ruby 1.8.6. I don't use any opinionated web development frameworks such as Rails (I don't do web development at all, act...
agrimm (Andrew Grimm)

10/02/2013

07:48 AM Ruby Bug #8975 (Closed): Confusing code sample for assert_send
Test::Unit::Assertsions#assert_send has the code sample
assert_send([[1, 2], :member?, 1]) # -> pass
assert_send([[1, 2], :member?, 4]) # -> fail
Having an array within an array is somewhat confusing. When I first read it,...
agrimm (Andrew Grimm)

09/18/2013

07:37 AM Ruby Feature #8691: Add warning for variable that is re-assigned but not re-used
Yes, close the ticket. If someone else wants the functionality, or has implemented the functionality and wants to submit a patch, they can open another ticket. agrimm (Andrew Grimm)

09/10/2013

08:26 AM Ruby Feature #8691: Add warning for variable that is re-assigned but not re-used
A third party tool that I use, called Rubocop, has implemented such functionality. https://github.com/bbatsov/rubocop/issues/458
So I don't really require this functionality in MRI any more.
agrimm (Andrew Grimm)

07/26/2013

08:52 AM Ruby Feature #8691 (Closed): Add warning for variable that is re-assigned but not re-used
The following code
def reassigned_unused
a = 42
b = a.to_s
a = 56
b
end
Does not currently generate an "assigned but unused variable" warning about the second assignment to "a".
Is it feasible to create a warning fo...
agrimm (Andrew Grimm)

05/01/2013

04:54 PM Ruby Bug #8351 (Closed): Error message is not grammatical
Enumerable#chunk has the error message "symbol begins with an underscore is reserved".
This is not grammatical. Assuming that error messages can be modified, possible fixes include
"symbol begins with an underscore, which is reserv...
agrimm (Andrew Grimm)

02/23/2013

10:29 PM Ruby Bug #7920 (Closed): Version of RubyGems in NEWS incorrect
NEWS claims that RubyGems 2.0.0.preview2 is used, but according to ChangeLog, 2.0.0 (non-preview) is used.
If there's any changes between 2.0.0.preview2, and 2.0.0 for RubyGems, additional changes to NEWS may be required.
A patch i...
agrimm (Andrew Grimm)

01/23/2013

03:51 PM Ruby Feature #7730 (Closed): Top level variables aren't checked for assigned but unused behavior
In the following code, variable a in the method gets a warning, but variable b in top level code doesn't get any warning
def warning_method
a = 2
end
b = 2
warning_method
$ ruby -w no_toplevel_warnin...
agrimm (Andrew Grimm)

Also available in: Atom