title: Error importing trait in to worksheet
body: <p>I have the following object and trait definitions in separate files in my package</p>
  
  <pre><code>object Bloxorz extends App   // in Bloxorz.scala
  trait Solver extends GameDef   // in Solver.scala
  trait GameDef                  // in GameDef.scala
  </code></pre>
  
  <p>There is a method in <code>trait GameDef</code> I wish to test out. So I create a worksheet in the root of my package and try to import it.</p>
  
  <pre><code>import streams.GameDef._
  </code></pre>
  
  <p>But I receive the following error</p>
  
  <pre><code>object GameDef is not a member of package streams. Note: trait GameDef exists, but it has no companion object
  </code></pre>
  
  <p>Since <code>Solver</code> extends <code>GameDef</code>, I figured I needed to import <code>Solver</code> instead, but that yielded the same error. Only importing <code>Bloxorz</code> object did not throw an error, but that did not expose the method I needed from <code>GameDef</code>.</p>