Join GitHub today
Subclasses of String do not support alias and anchor #68
An instance of a Subclass of String do not get anchored and aliased when referenced multiple times in an object, leading to different objects on Psych.load.
Psych.load on an YAML containing an instance of a subclass of String anchored and aliased correctly from 1.8.7(Syck) raises "Unknown alias".
I have verified that a plain old ruby object and even a subclass of Array does alias and anchor properly.
See full failing tests here: https://gist.github.com/3106078
How can I help fix this?