That's because the bug still exist ... http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=578
~js > -----Original Message----- > From: [email protected] [mailto:ironruby-core- > [email protected]] On Behalf Of Chamini Gallage > Sent: Tuesday, April 14, 2009 10:29 PM > To: [email protected] > 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 > [email protected] > http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
