Re: [Ironruby-core] Access Top Level methods

2011-08-02 Thread Lewis Lin
Hi, I am doing this to implement a DSL. I want to allow user to define some function and be used by the DSL. Without this, I don't know how to get it working. I am sure there is a rational explanation for what I see. Could someone help me please? Thanks, Lewis On 7/20/2011 10:49 AM, Lewis

Re: [Ironruby-core] Code Review - Time#strftime ignore invalid directives on format string

2011-08-02 Thread Enrico Sada
yes the test was red before. i will remove the checks for 1.9 (are useless) and update the pull request. On Tue, Aug 2, 2011 at 7:20 PM, Jimmy Schementi wrote: > On Tue, Aug 2, 2011 at 12:44 PM, Enrico Sada wrote: >> >> i asked a pull request ( https://github.com/IronLanguages/main/pull/28 >> )

Re: [Ironruby-core] Code Review - Time#strftime ignore invalid directives on format string

2011-08-02 Thread Tomas Matousek
You can remove compatibility check (including the one that's there). IronRuby only supports MRI 1.9. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Enrico Sada Sent: Tuesday, August 02, 2011 9:45 AM To: ironru

Re: [Ironruby-core] Code Review - Time#strftime ignore invalid directives on format string

2011-08-02 Thread Jimmy Schementi
On Tue, Aug 2, 2011 at 12:44 PM, Enrico Sada wrote: > i asked a pull request ( https://github.com/IronLanguages/main/pull/28 > ) for fix Time#strftime behaviour on invalid directives on format > string, ex: > > ruby 1.8: > Time.now.strftime '%$' => '$' > ruby 1.9: > Time.now.strftime '%$' => '%$'

[Ironruby-core] Code Review - Time#strftime ignore invalid directives on format string

2011-08-02 Thread Enrico Sada
i asked a pull request ( https://github.com/IronLanguages/main/pull/28 ) for fix Time#strftime behaviour on invalid directives on format string, ex: ruby 1.8: Time.now.strftime '%$' => '$' ruby 1.9: Time.now.strftime '%$' => '%$' this make green a mspec test on core/time/strftime_spec.rb I have

[Ironruby-core] CompiledCode execution + using scope + local variables in a loop => NullReferenceException

2011-08-02 Thread Anton Firsov
Hi, I have reported a bug on codeplex: http://ironruby.codeplex.com/workitem/6353 Will it be fixed in next release? Thank you, Anton ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core