slick-pg
slick-pg copied to clipboard
AbstractMethodError on 2.12
Ammonite reproducer:
import $ivy.`com.github.tminglei::slick-pg:0.15.3`
new com.github.tminglei.slickpg.ExPostgresProfile { new API {} }
Seems to be https://github.com/scala/bug/issues/10477
Confirmed. Just got the same error when upgrading to 2.12.3
Okay adding override val backend: Backend seemed to work. See https://github.com/scala/bug/issues/10477#issuecomment-323917940
Had this issue too, with 2.12.4. This happens for me when MyPostgresProfile is a class (which the Ammonite example should become too), but not when it's a trait.