Hi, guys, i have a class with an argument that is ...
# k2-adopters
b
Hi, guys, i have a class with an argument that is used inside init block, after enabling k2 compiler, it is giving me error
myVariable must be initialized
Copy code
class MyClass( val myVariable: String) {
    init {
        // do something with `myVariable` here
    }
}
What am i missing ?
d
Please report an issue
K 1