Hi, I have updated kotlin 1.3.21 to 1.3.41 and I'm getting IDE errors about type mismatch, This happens with requery library :
Type mismatch.
Required:
Condition<out Expression<TypeVariable(R)>, *>
Found:
Logical<out Expression<Long>, Long>
I know Logical inherits from Contidion but type can't be inferred .
Any Workaround?
k
karelpeeters
07/16/2019, 7:20 PM
Does it work if you build the code outside of the IDE?
j
Juanoterocas
07/16/2019, 7:21 PM
Yes I'm using gradle and I have no problems
j
Jurriaan Mous
07/16/2019, 8:10 PM
Disable “enable new type inference algorithm for IDE analysis”. (Under Build, execution, deployment > compiler >Kotlin compiler in preferences) And report a bug on the mismatch in inference so it can be fixed.