tminglei / slick-pg

Slick extensions for PostgreSQL
BSD 2-Clause "Simplified" License
839 stars 180 forks source link

AbstractMethodError on 2.12 #367

Open nafg opened 7 years ago

nafg commented 7 years ago

Ammonite reproducer:

import $ivy.`com.github.tminglei::slick-pg:0.15.3` 
new com.github.tminglei.slickpg.ExPostgresProfile { new API {} }
nafg commented 7 years ago

Seems to be https://github.com/scala/bug/issues/10477

DylanArnold commented 6 years ago

Confirmed. Just got the same error when upgrading to 2.12.3

DylanArnold commented 6 years ago

Okay adding override val backend: Backend seemed to work. See https://github.com/scala/bug/issues/10477#issuecomment-323917940

nightkr commented 6 years ago

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.