title: Extending an object with a trait which needs implicit member
body: <p>I'm trying to have a code like below:</p>
  <pre><code>object MetaData extends CacheParams{}
  </code></pre>
  <p>So, since <code>CacheParams</code> needs <code>implicit val p:Parameters</code>, I tried:</p>
  <p><code>object MetaData (implicit val p: Parameters) extends CacheParams</code></p>
  <p>But it seems that I can't pass arguments to an object.</p>
  <p>( because it gives error:<code>traits or objects may not have parameters</code>)</p>
  <p>And if I don't pass any arguments it will give compile error that:</p>
  <pre><code>[error]: object creation impossible, since value p in trait CacheParams of type Parameters is not defined
  </code></pre>
  <p>I have no idea how to make this works. There were a few similar questions, but none of their answers solved my problem. Any help would be really appreciated.
  Thanks a lot.</p>