-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: EXPOSED-280 Comparison operators show incorrect compiler warning…
… with datetime columns (#1984) An incorrect compiler warning is flagged if a comparison operator, like eq(), is used with 2 columns that store certain types. The warning treats the right-side column as an EntityID column. The pattern so far seems to be stored types that are not part of the Kotlin standard library, namely javatime, jodatime, and UUID types. This occurs because of recently introduced convenience overrides that are being inappropriately chosen. These overrides incorrectly make the ExpressionWithColumnType argument's type parameter contravariant, when this annotation should instead be set on the calling Expression object's type parameter.
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters