Closed djavorszky closed 2 years ago
Having fun ref get(): this->A => _c results in compile error:
fun ref get(): this->A => _c
Error: /home/djavorszky/dev/helloworld/main.pony:7:18: can only use 'this' for a viewpoint in a box function fun ref get(): this->A => _c
Works with fun get(): this->A => _c
fun get(): this->A => _c
Thanks
Having
fun ref get(): this->A => _c
results in compile error:Works with
fun get(): this->A => _c