Strange unary minus behavior that also prevents overriding it.
> -nil
undefined method '-@' (NoMethodError)
> -nil; nil
=> nil # this doesn't seem OK
> +nil; nil
undefined method '+@' (NoMethodError)
> class Foo; def -@; p 'bar'; end; end; -Foo.new; nil
=> nil # doesn't print "bar"
e42f192 is the first bad commit
Strange unary minus behavior that also prevents overriding it.
e42f192 is the first bad commit