zio-protoquill icon indicating copy to clipboard operation
zio-protoquill copied to clipboard

Error prone lift

Open Primetalk opened this issue 11 months ago • 0 comments

Version: 4.8.1 Module: quill-sql Database: postgres

Expected behavior

double lift should be detected at compile time.

Actual behavior

It fails at runtime with

java.lang.RuntimeException: Unquotation can only be done from a quoted block.
	at io.getquill.EagerPlanter.unquote(DslModel.scala:99)

Steps to reproduce the behavior

https://scastie.scala-lang.org/CCFCK1XNQS6nCAl1x0TiPg

With postgres driver it compiles fine.

Workaround

Remove lift.

@getquill/maintainers

Primetalk avatar Mar 13 '24 15:03 Primetalk