I confirm that I can reproduce this bug on my system too (it-IT). See
below for a simpler test case:

>>> puts 1.1
1,1
=> nil
>>> p 1.1
1.1
=> nil

The problem is in IoOps.ToPrintedString, where there is indeed an
obj.ToString() for doubles. Converting it with Convert.ToString(obj,
System.Globalization.CultureInfo.InvariantCulture) seems to fix the
issue, but I have just tried it in the REPL without running the test
suite yet. If you want, I can commit this fix in my repository if it
passes the tests.

On Thu, Apr 16, 2009 at 09:58, Thibaut Barrère
<thibaut.barr...@gmail.com> wrote:
>> Yes, these are all suppose to pass ... they run "mspec ci" which is the 
>> continuous integration mode ... which omits "critical" or "fails" tagged 
>> tests.
>>
>> It'd be good to know where IronRuby falls over in different cultures, so 
>> feel free to report bugs on codeplex about these things.
>
> thanks - I added the first one here:
> http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=597
>
> and will add or fix more as I go.
>
> -- Thibaut
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>


-- 
Daniele Alessandri
http://www.clorophilla.net/blog/
http://twitter.com/JoL1hAHN
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to