Hello Guys, Does anyone of you have any idea why a...
# android
s
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
Check if you have
Enable new type inference algorithm for IDE analysis
checked in preferences on
Kotlin Compiler
page
✔️ 1
s
@wasyl Thanks. It works.
👍 1
for anyone wants to know more about the new type inference algo have a look here