Using .tupled method when companion object is in class
问题 I am in the process of migrating from Slick to Slick 2, and in Slick 2 you are meant to use the tupled method when projecting onto a case class (as shown here http://slick.typesafe.com/doc/2.0.0-RC1/migration.html) The problem is when the case class has a companion object, i.e. if you have something like this case class Person(firstName:String,lastName:String) { } Along with a companion object object Person { def something = "rawr" } In the same scope, the tupled method no longer works,