snippets misparsing diagnostics