title: Using .tupled method when companion object is in class
body: <p>I am in the process of migrating from Slick to Slick 2, and in Slick 2 you are meant to use the <code>tupled</code> method when projecting onto a case class (as shown here <a href="http://slick.typesafe.com/doc/2.0.0-RC1/migration.html" rel="nofollow noreferrer">http://slick.typesafe.com/doc/2.0.0-RC1/migration.html</a>)</p>
  <p>The problem is when the case class has a companion object, i.e. if you have something like this</p>
  <pre><code>case class Person(firstName:String, lastName:String) {
  
  }
  </code></pre>
  <p>Along with a companion object</p>
  <pre><code>object Person {
    def something = &quot;rawr&quot;
  }
  </code></pre>
  <p>In the same scope, the <code>tupled</code> method no longer works, because its trying to run <code>tupled</code> on the <code>object</code>, instead of the <code>case class</code>.</p>
  <p>Is there a way to retrieve the <code>case class</code> of <code>Person</code> rather than the <code>object</code>, so you can call <code>tupled</code> properly?</p>