[Ironruby-core] Error when running Cucumber examples with IronRuby
Chamini Gallage
lists at ruby-forum.com
Wed Apr 15 01:28:57 EDT 2009
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/.
More information about the Ironruby-core
mailing list