From: Paul Brannan Date: 2008-11-20T02:57:58+09:00 Subject: [ruby-core:19994] Re: Splat nil The last case is no longer hanging with the latest trunk; I don't know if something was fixed or I got lucky or whether I had a bad build. The behavior is still clearly different between 1.8 and 1.9. Is this expected? Thanks, Paul On Wed, Nov 12, 2008 at 10:10:12PM +0900, Paul Brannan wrote: > I'm seeing differing behavior on 1.8 and 1.9. Is this intentional? > > cout@bean:~$ ruby -e 'def foo; return *nil; end; p foo' > nil > cout@bean:~$ ruby1.9 -e 'def foo; return *nil; end; p foo' > [] > cout@bean:~$ ruby -e 'p *nil' > nil > cout@bean:~$ ruby1.9 -e 'p *nil' > > > Paul > >