From: David Flanagan Date: 2007-10-24T04:32:54+09:00 Subject: Re: Simple One liner crashes YARV trap ('INT', &oldTrap) crashes Ruby 1.9.0 code generator Brent, Turns out that Nobu has already checked in a patch to fix this. David Brent Roman wrote: > David, > > Bingo!!! > > You found it! > > Try running this instead: > > $ ruby1.9 -v -e 'trap ("INT", &oldTrap)' > > Note that I'm porting from v1.6.8, where spaces between method name and > opening paren of an arg list did not generate a warning. > > I still don't understand why these spaces should cause a parsing headache. > Maybe someone could enlighten me... > > In any case, I'm running Gentoo Linux here and was able to quickly > verify that the whitespace between trap and the '(' trigger the crash. > So, its very easy to avoid :-) > > Thanks! > > Should I file a bug report on this? (where?) > Should I try to generate a patch myself? > > - brent > >