Code Review: MiscFixes.2

tfpt review “/shelveset:MiscFixes.2;REDMOND\tomat”
Comment :

Fixes bugs:

  • Protocols.IsEqual should compare references first before calling ==
  • Exception#initialize should reset backtrace to nil.
  • Exception#exception should not be special-cased for argument ==
    self (filed Ruby bug
  • Fixnum#<< handled overflow incorrectly.
  • System::String inspect uses single quotes instead of double quotes
    to differentiate from Ruby string.
  • Fixes L conversion in Array#unpack.

Adds RubyMetaObject and RubyMetaObject to handle functionality
common for Ruby meta-objects and derives Proc.Meta and Method.Meta from
RMO (more refactoring will follow).
Implements a conversion from Proc/Method to an arbitrary delegate.
Slightly refactors meta-object builder. More changes will follow.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs