Hello Guys, Does anyone of you have any idea why all of a sudden I started getting these errors when emitting FAILURE of Resource class which is a sealed class. it says "not enough information to infer type variable T" ? It wasn't there before. Compilation works normal. No crash. No error.
w
wasyl
05/13/2020, 6:51 AM
Check if you have
Enable new type inference algorithm for IDE analysis
checked in preferences on
Kotlin Compiler
page
✔️ 1
s
Somesh
05/13/2020, 6:57 AM
@wasyl Thanks. It works.
👍 1
Somesh
05/13/2020, 6:58 AM
for anyone wants to know more about the new type inference algo have a look here