The non-specific '!' tag resolves a node by kind alone, with no implicit typing, so '! 12' is the string "12", not the integer 12. The event stream already carried the tag correctly, but typed-value construction fell through to plain-scalar resolution and produced an int. Add the '!' case to tagged-scalar composition so it yields a string. Surpasses libyaml on S4JQ (the last parse-ok gap); whole-suite conformance 391/402, canonical events 308/308. |
||
|---|---|---|
| .. | ||
| Coding | ||
| Decoding | ||
| Emitting | ||
| Encoding | ||
| Model | ||
| Parsing | ||
| Stream | ||
| Tagged | ||
| Validation | ||
| API.swift | ||
| PureYAML.swift | ||