I simplified the error, and I just have this class:
class TestClass{ private var string = "Hello" fun testError() { string= "I