Is there some way to implement a destructor for a `ref object` (as opposed to `object`) type? Compiling the code: type ARef = ref object name: string proc `=destroy`(x: ARef) = echo "Destroying A named ", x.name `=destroy`(x.name) Run
gives the following error: Error: signature for '=destroy' must be proc[T: object](x: var T) or proc[T: object](x: T) Run