https://kotlinlang.org logo
#announcements
Title
# announcements
m

Matej Drobnič

06/19/2019, 7:14 PM
I'm a bit confused by "new inference is only enabled in IDE" statement. Doesn't new inference produce less compile errors? That would mean that IDE now warns about LESS errors before running compilation which could now still fail since compiler uses old inference. Or am I interpreting this statement wrongly?
🤔 2
n

Nikky

06/19/2019, 7:38 PM
In case that there are bugs it's only visual, users will notice deviations, but upgrading will not break anything, so it's somewhat safe i guess
👍 1
t

Tolriq

06/19/2019, 7:56 PM
Not entirely true 🙂 IDE will propose fixes that if you apply will trigger compilation issues 😞 I have reported a few issues and there’s probably still plenty that’s why NI is still not default. I suppose they need more testers and more feedback so kinda force this on by default.
Other option of course is to enable NI also for compiler to have a more logical behavior and report issues so they are fixed.
k

karelpeeters

06/19/2019, 8:30 PM
Yeah I think this is really strange as well, why would you intentionally change behavior between IDE and compiler? It's confusing enough when it happens accidentally.