The responsible lines are:
val q = Queryable[CoffeesTable] q.map(e1 => q.map(e2=>e1))
It did work with earlier versions of trunk.
The easiest way to reproduce the problem is:
- clone slick (https://github.com/typesafehub/slick/)
- check out the branch typecheckFreeBug
- get sbt-0.12-beta2 ( http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.12.0-Beta2/sbt-launch.jar )
- compile/run the relevant tests: sbt test-only scala.slick.test.queryable.QueryableTest