[Ironruby-core] Code Review: Types2

Tomas Matousek Tomas.Matousek at microsoft.com
Fri Oct 23 15:55:35 EDT 2009

  tfpt review "/shelveset:Types2;REDMOND\tomat"

The overload resolver should handle a candidate set with no callable method (e.g. have unbound generic parameter). Adds a BindingResult value that indicates such case.

Ruby, Python:
Disables VSHost process in CLR4 configurations to enable debugging in VS2010. VS2010 doesn't handle multiple TargetFrameworkVersions per project correctly when launching VSHost process.

Simplifies ClsTypeEmitter and adds support for overriding default indexers. 

Fixes http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2907:
Previously, generic type definitions were handled as super-classes for their instantiations so that it is possible to add a Ruby method on a generic type definition and call it from any instantiation. This approach breaks when inheriting from a generic type - the inheritance hierarchy is incorrect. It makes more sense to treat generic type definitions as modules - they can't be instantiated, don't define any callable methods and we can mix them into their instantiations instead of inheriting from them. 

Adds an overload to String.new that takes a byte[] and turns it into a binary string.

Implements a debug view from RubyMethod.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Types2.diff
Type: application/octet-stream
Size: 84985 bytes
Desc: Types2.diff
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091023/337c0840/attachment-0001.obj>

More information about the Ironruby-core mailing list