The diagnostic accessor ran the scan through `try?`, which discarded the whole scanner state, and the tag-handle issues collected on it, on any error: the comment promised the issues found before a scan-aborting error were returned, but the code returned none. Split the run into a state-capturing `collect` that returns the partial state with the aborting error, so `scan` still throws while `tagHandleIssues` reports the diagnostics gathered before the abort. A regression test pins an undeclared handle followed by an unterminated quote. |
||
|---|---|---|
| .. | ||
| Coding | ||
| Decoding | ||
| Emitting | ||
| Encoding | ||
| Model | ||
| Parsing | ||
| Stream | ||
| Tagged | ||
| Validation | ||
| API.swift | ||
| PureYAML.swift | ||