Alexander Ioffe
09/16/2025, 4:54 AMPlatform declaration clash: The following declarations have the same JVM signature (xrSqlQueryModelTokenImpl$lambda$0$0(Lio/exoquery/SqliteDialect;Lio/exoquery/sql/SqlQueryModel;)Lio/exoquery/sql/Token;):
fun `xrSqlQueryModelTokenImpl$lambda$0$0`(`this$0`: SqliteDialect, `$this_with`: SqlQueryModel): Token defined in io.exoquery.SqliteDialect
fun `xrSqlQueryModelTokenImpl$lambda$0$0`(`this$0`: SqliteDialect, `$this_with`: SqlQueryModel): Token defined in io.exoquery.SqliteDialect
This goes away when in my buildFun call I replace IrDeclarationOrigin.LOCAL_FUNCTION_FOR_LAMBDA with IrDeclarationOrigin.LOCAL_FUNCTION.
Have the lambda-naming rules changed in 2.2.20?Alexander Ioffe
09/16/2025, 12:19 PMIrDeclarationOrigin.SYNTHETIC_JAVA_PROPERTY_DELEGATE or IrDeclarationOrigin.PROPERTY_DELEGATE seems to fix the problem as well.Neeme Praks
09/19/2025, 10:18 AMNeeme Praks
09/22/2025, 6:54 PMAlexander Ioffe
09/22/2025, 8:34 PMIrDeclarationOrigin.LOCAL_FUNCTION but that doesn't work in all cases (e.g. if you need to have suspended or inline lambdas).Neeme Praks
09/23/2025, 6:04 AMIrDeclarationOrigin.LOCAL_FUNCTION, at least for now. It feels hackish, though.Neeme Praks
09/24/2025, 3:12 PM