I am having an upgrade issue as well ```inspectio...
# announcements
t
I am having an upgrade issue as well
Copy code
inspection.evaluations.map(::adapt)

fun adapt(evaluation: Evaluation) : EvaluationRepresentationApi
compiles with 1.3, but does not in 1.4 .
inspection.evaluations.map { adapt(it) }
fixes it, but wanted to check if there is a different solution. to be more precise, gradle has no problem, it is idea that complains and fails compilation false, both complain
it is actually weird, I use the same syntax in more than one place in the same module and that is the only one failing
a
Does it compile with old inference?:
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
  kotlinOptions {
    freeCompilerArgs += ["-XXLanguage:-NewInference"]
  }
}
Can you please create an issue at http://kotl.in/issue with a self-contained code sample to reproduce the problem.
t
yes, it does. I can try to reproduce, not sure if I will manage. we have exactly (to me at least) the same code in a different class in the same package, and in that class new inference works too