Fix for issue #4946

Here’s my fix for issue #4946
http://ironruby.codeplex.com/workitem/4946:
da1abbdba748f0ebdb52http://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

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