Code highlighting: wrong fun arg style


Argument init has keyword-like style.

link to page


Was there a question here?

init is the name of the parameter to the html function and it is of type HTML.() -> Unit which is essentially an extension function on HTML object


It’s an error report, in that the word init is highlighted in blue like a keyword in this code sample, but it’s not used as a keyword there.