[Ironruby-core] Error when running Cucumber examples with IronRuby

Jimmy Schementi Jimmy.Schementi at microsoft.com
Wed Apr 15 10:49:07 EDT 2009


That's because the bug still exist ... http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=578

~js

> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> bounces at rubyforge.org] On Behalf Of Chamini Gallage
> Sent: Tuesday, April 14, 2009 10:29 PM
> To: ironruby-core at rubyforge.org
> Subject: Re: [Ironruby-core] Error when running Cucumber examples with
> IronRuby
>
> Hi,
>
> I have been trying the same task with the latest ironruby source and
> continuously get the same error. Can some one please guide me how and
> where to apply the snippet mentioned in Shri's post;
>
> Shri Borde wrote:
> > Its an IronRuby bug with "break" in eval'ed code. The problem can be
> > reproed with the snippet below. Tomas, do you want to take a look?
> >
> > def f
> >  yield
> > end
> >
> > f { break } # This works with both MRI and IronRuby
> >
> > eval "f { break }" # This throws LocalJumpError with IronRuby only
> >
> > Thanks,
> > Shri
>
> Thanks in advance..
>
> Chamini
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list