Issue: highlighting breaks at certain conditions


#1

An error:

An internal error occurred during: "Install semantic highlighting".
Cannot find highlight attributes
  for val baz: kotlin.String defined in foo
[resolveParametersOfFunctionType$ParameterOfFunctionTypeDescriptor@505cf08f]

Code that generates this error:

fun foo(bar: (baz: String) -> Unit) {
   println(bar)
}

Code that doesn’t trigger error:

fun foo(bar: (String) -> Unit) {
   println(bar)
}

Eclipse:

Neon.3 Release (4.6.3)

Kotlin:

0.8.5.v20180613-0901 / org.jetbrains.kotlin.feature.feature.group / JetBrains

#2

To report bugs use the issue tracker pls. https://youtrack.jetbrains.com/issues/KT


#3

Thank you, couldn’t find it.


Edit: issue created https://youtrack.jetbrains.com/issue/KE-274, topic closed