title: Where is it legal to use ruby splat operator?
body: <p>Splats are cool. They're not just for exploding arrays, although that is fun. They can also cast to Array and flatten arrays (See <a href="http://github.com/mischa/splat/tree/master" rel="noreferrer">http://github.com/mischa/splat/tree/master</a> for an exhaustive list of what they do.)</p>
  
  <p>It looks like one cannot perform additional operations on the splat, but in 1.8.6/1.9 the following code throws "unexpected tSTAR":</p>
  
  <p><code>foo = bar || *zap  #=&gt; unexpected tSTAR</code></p>
  
  <p>Whereas this works:</p>
  
  <p><code>foo = *zap || bar #=&gt; works, but of limited value</code></p>
  
  <p>Where can the splat appear in an expression?</p>