Hi, I have updated kotlin 1.3.21 to 1.3.41 and I'm...
# announcements
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?
Does it work if you build the code outside of the IDE?
Yes I'm using gradle and I have no problems
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.
👍 2
More info in the release blog under "Working on a New Type Inference Algorithm" https://blog.jetbrains.com/kotlin/2019/06/kotlin-1-3-40-released/
Also, please report this problem to http://kotl.in/issue with some sample code to reproduce. Thanks!