I have an abstract class named AbstractFoo
and its implementation, Foo
. Foo
also implements an interface Bar
. I would like to make Foo
disposable so I assume that I need to implement Disposable class but I am getting an error
Classes and mixins can only implement other classes and mixins
I tried to make AbstractFoo
implement Disposable
but I get the same error. Can anyone help?