Why am i getting 'no value passed for parameter 'x' in kotlin'?
Example:
fun greet(name: String) = 'Hello, $name'
greet()
You're calling a function without providing all the required arguments.
Solution:Ensure to pass all required parameters when invoking a function.
greet("John")