title: Scala passing type parameters to object
body: <p>In Scala v 2.7.7</p>
  
  <p>I have a file with</p>
  
  <pre><code>class Something[T] extends Other
  
  object Something extends OtherConstructor[Something]
  </code></pre>
  
  <p>This throws the error:</p>
  
  <blockquote>
    <p>class Something takes type parameters<br>
    object Something extends OtherConstructor[Something] {</p>
  </blockquote>
  
  <p>However, I can't do this</p>
  
  <pre><code>object Something[T] extends OtherConstructor[Something[T]]
  </code></pre>
  
  <p>It throws an error:<br></p>
  
  <blockquote>
    <p>error: ';' expected but '[' found.</p>
  </blockquote>
  
  <p>Is it possible to send type parameters to object? Or should I change and simply use Otherconstructor</p>