I am trying to type assert from a []Node, to []Symbol. In my code, Symbol implements the Node interface.
[]Node
[]Symbol
Symbol
Node
Here is
Go does not allow this. You need to convert Node to Symbol individually.
The reason why it isn't allowed is that []Node and []Symbol have different representations, so the conversion would need to allocate memory for []Symbol.