title: @tailrec error in scala eclipse worksheet: expected start of definition
body: <p>i'm new to scala and i'm currently practicing in the worksheet.
  I noticed that @tailrec doesn't work in the worksheet even though i added the import</p>
  
  <pre><code>import scala.annotation.tailrec
  </code></pre>
  
  <p>This is the version of scala i'm using</p>
  
  <pre><code>Scala code runner version 2.10.2 -- Copyright 2002-2013, LAMP/EPFL
  </code></pre>
  
  <p>Is there a way to get it to work?
  Thanks</p>