[Ironruby-core] Fix for issue #4946
Charles Strahan
charles.c.strahan at gmail.com
Fri Aug 27 17:00:05 EDT 2010
Here's my fix for issue #4946 <http://ironruby.codeplex.com/workitem/4946>:
da1abbdba748f0ebdb52<http://github.com/cstrahan/ironruby/commit/da1abbdba748f0ebdb5282f8557549bf260ffd61>
However, I'm curious if that's just sidestepping another problem with the
Silverlight build. Before the change, CreateObject will always raise an
exception in Silverlight if the baseType implements ISerializable - after
the change, it won't throw when the baseType is RubyObject. Shouldn't
we *always
*ignore the ISerializable attribute in the Silverlight build and instead
default to the second part of the if/else (the part where we use *theclass**
.Context.SetInstanceVariable*)?
-Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100827/4320d2cc/attachment.html>
More information about the Ironruby-core
mailing list