Why do i get 'modifier 'open' is not applicable to 'local variable' in kotlin'?
Example:
fun someFunction() {
open val localVariable = est"
}
You can't use the 'open' modifier on local variables.
Solution:Remove the 'open' modifier from local variables.
fun someFunction() {
val localVariable = "test"
}