Enable new type inference algorithm for IDE analysis
Note that this change doesn't affect compilation: if a project used old inference, then it'll continue to use it. To use old inference one can uncheck "Enable new type inference..." option in "Kotlin Compiler" tab
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ import com.intellij.openapi.project.Project
|
||||
|
||||
object NewInferenceForIDEAnalysisComponent {
|
||||
private const val inferenceOption = "kotlin.use.new.inference.for.ide.analysis"
|
||||
private const val defaultState = false
|
||||
private const val defaultState = true
|
||||
|
||||
@JvmStatic
|
||||
fun setEnabled(project: Project, state: Boolean) {
|
||||
|
||||
Reference in New Issue
Block a user