pharo
pharo copied to clipboard
Review RBLiteralNode class>>#value:
- RBLiteralNode class>>#value: checks for the class using equality
shouldnt it check for #isArray or #isByteArray to find out if it should use RBLiteralArrayNode or RBLiteralValueNode?
I know that the #isByteArray is not yet in the image, but we can easily add it.
the problem is that there are subclasses of ByteArrray that are not supposed to be a RBLiteralArrayNode. it is really just that class.