You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the quick response. The error I get is,
Key x doesn't exist in parsed document at 5:2, y:3 ^
It seems << is treated as a regular YAML mapping object key. Thus, to instantiate an object of class A, << "key" is being silently ignored because it's not required, and the remaining key, that is y, is not sufficient because x is "missing".
I'm not sure if I'm doing something wrong, but the following snippet includes a valid YAML document that fails to decode.
Any suggestions to get the above example to parse correctly?
Thanks
The text was updated successfully, but these errors were encountered: