title: Scala giving me "illegal start of definition"
body: <p>I'm trying to get started with Scala and cannot get out of the starting gate.</p>
  
  <p>A file consisting of the line</p>
  
  <pre><code>package x
  </code></pre>
  
  <p>gives me</p>
  
  <blockquote>
    <p>error: illegal start of definition</p>
  </blockquote>
  
  <p>Regardless of what x is and regardless of where I put the file (I had a theory that I had to place the file in a directory hierarchy to match the package definition, but no).  I get the same error with the example code from the web site and with the REPL.</p>