Closed bog-walk closed 6 months ago
After updating to 0.47.0 from 0.46.0, I'm now getting:
Type argument for a type parameter E can't be inferred because it has incompatible upper bounds: UUID, EntityID
(multiple incompatible classes). This will become an error in Kotlin 2.0
With this code:
val foo = uuid("foo")
val bar = uuid("bar")
fun test() {
table.selectAll().where {
table.foo eq table.bar
}
}
This PR seems to be the only related change in the change log.
Hi @scottkennedy I came across this issue today as well and a fix will be pushed shortly.
Here is the issue ticket, EXPOSED-280, if you'd like to track it.
The following warning shows when a comparison operator is used between an
EntityID
column and a column of matching non-EntityID
type:This happens because there is no overload for this type of comparison, so the overload being used is this one:
Appropriate overloads have been added for each relevant comparison op.