Skip to content

Instantly share code, notes, and snippets.

@richard-gibson
Created May 17, 2019 11:00
Show Gist options
  • Save richard-gibson/31fe7f5f9a31fda1adf9b4bf46b4b086 to your computer and use it in GitHub Desktop.
Save richard-gibson/31fe7f5f9a31fda1adf9b4bf46b4b086 to your computer and use it in GitHub Desktop.
[error] /.../src/test/scala/admin/repository/ProductServiceSqlTest.scala:18:14: type mismatch;
[error] found : cats.effect.Resource[cats.effect.IO,doobie.hikari.HikariTransactor[cats.effect.IO]]
[error] (which expands to) cats.effect.Resource[cats.effect.IO,doobie.util.transactor.Transactor[cats.effect.IO]{type A = com.zaxxer.hikari.HikariDataSource}]
[error] required: cats.effect.Resource[F,doobie.hikari.HikariTransactor[F]]
[error] (which expands to) cats.effect.Resource[F,doobie.util.transactor.Transactor[F]{type A = com.zaxxer.hikari.HikariDataSource}]
[error] xa <- transactor(dbConf)
[error] ^
[info] cats.effect.Resource[cats.effect.IO,doobie.hikari.HikariTransactor[cats.effect.IO]] <: cats.effect.Resource[F,doobie.hikari.HikariTransactor[F]]?
[info] F[_] <: cats.effect.IO[_]?
[info] false
[info] false
[error] /Users/rggibson/sandbox/dcj/service-option-management/src/test/scala/admin/repository/ProductServiceSqlTest.scala:17:7: parameter value dbConf in value $anonfun is never used
[error] dbConf <- Resource.liftF(configF[F, DbConfig]("db"))
[error] ^
[error] two errors found
[error] (Test / compileIncremental) Compilation failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment