Did someone try the new type inference? Did you en...
# announcements
p
Did someone try the new type inference? Did you encounter issues or is it stable?
p
a
It is pretty stable. All known unresolved issues can be found with this search: https://youtrack.jetbrains.com/issues/KT?q=tag:%20new-inference%20-Resolved%20
p
a
Well, please try it anyway. Your feedback is very welcome.
😀 3
j
29? Wait until you find out how many bugs are in the whole language...
😅 4
😂 1
b
can i read about the 'new inference' somewhere?
a
For now you can only watch

https://www.youtube.com/watch?v=MyljSWm0Y_k

👍 1
s
Failed in a relatively simple case:
Copy code
val progressView: View?
init {
    progressView = if (progressViewId != View.NO_ID) ViewCompat.requireViewById(rootView, progressViewId) else null
}
Copy code
if (progressViewId != -1) {
    ViewCompat.requireViewById(rootView, progressViewId); // ??
    throw null;
} else {
    this.progressView = (View)null;
}
Looks similar to https://youtrack.jetbrains.com/issue/KT-25345
a
Please report to http://kotl.in/issue with a sample project to reproduce if possible. Thanks.