Hello, It's there a way you could bring back the I...
# intellij
Hello, It's there a way you could bring back the IDE option "Enable new type inference algorithm..." that was removed in https://youtrack.jetbrains.com/issue/KT-37378? maybe enabled by default, or at least
could respect the compiler flag
, right now it doesn't seem to be the case (Idea/AS hang with the new FE). The reason I'm bringing this up because https://youtrack.jetbrains.com/issue/KT-41644 was reopen, we are still stuck in 1.3.71 even when our code works 1.4.x (cmd gradle), but without an IDE we can't migrate
IDEA actually respects the compiler flag
from Gradle after project reimport (it should be applied to all Gradle projects of course). You can verify this for example on code from https://youtrack.jetbrains.com/issue/KT-38804: with the flag applied it will be highlighted in red in IDEA. And yes, sorry, there are still some performance regressions in new inference in obscure cases with a lot of generics, but as has been pointed out, it generally helps to specify types explicitly, so they don't have to be inferred.