[Ironruby-core] agdlr test w/ ruby string

Jb Evain jb at nurv.fr
Wed Apr 1 12:38:01 EDT 2009


Hey Tomas,

On 4/1/09, Tomas Matousek <Tomas.Matousek at microsoft.com> wrote:
> SetProperty converts Ruby string "innerHTML" to CLR string because its first parameter is strongly typed to CLR string. The second parameter is not and hence no conversion occurs.

Alright that's what I expected.

> The current implementation "==" compares Ruby strings and CLR strings by value.

>>> "" == "".to_clr_string
=> false

I see :) Now to fix it in Mono.

Thanks,

-- 
Jb Evain  <jb at nurv.fr>


More information about the Ironruby-core mailing list