I am getting error: The feature "unit conversion" is disabled. What does this mean? and how do I enable it?
IDEA suggested to set languageVersion to "1.4", I am still getting the error though
m
Marc Knaup
12/22/2020, 9:51 AM
What is the code? It has something to do with the return type of lambas as far as I remember. Typically it's a programming issue.
a
andylamax
12/22/2020, 6:16 PM
I am trying to return an nullable lambda
I have a function
Copy code
fun RBuilder.Hello(onClick:(()->Unit)? = null) {
// . . .
}