[Ironruby-core] Stupid to_clr_string
curth at microsoft.com
Fri Aug 15 12:44:50 EDT 2008
The binder could automatically create a conversion - in effect, calling to_clr_string for you automatically. But it might be a little strange for the binder to do that automatically in one direction and not the other - which is why I said that there needs to be a plan before we make any changes.
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Sean Clark Hess
Sent: Friday, August 15, 2008 9:39 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Stupid to_clr_string
Ah, makes sense. I'm totally unfamiliar with the way IronRuby is implemented. Is it possible to switch it to a clr string any time it calls any framework code? (like the invoke function I'm using).
On Fri, Aug 15, 2008 at 10:33 AM, Curt Hagenlocher <curth at microsoft.com<mailto:curth at microsoft.com>> wrote:
This isn't a Silverlight issue but an IronRuby one. A Ruby string simply isn't the same as a CLR string - the Ruby string is mutable while the CLR string is not.
We need to come up with a cohesive plan for dealing with the difference before we can "fix" anything.
From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Sean Clark Hess
Sent: Friday, August 15, 2008 9:25 AM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: [Ironruby-core] Stupid to_clr_string
Is this being fixed? Or is this something we're going to have to deal with for a while?
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core