Repository navigation
Conversation
- serde_attrs fallback: the raw-token fallback reads a raw string literal (r"..." / r#"..."#) as a default or rename value, as the structured walk already does, instead of reading it as absent. - type_schema conversion: crate::Schema, self::Schema and super::Schema no longer apply the <module>Schema convention (a path keyword is no module name), so they name the bare Schema component, not CrateSchema-style ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
owjs3901
force-pushed
the
fix/parser-round41
branch
from
November 24, 2026 00:24
4535719 to
e8763c9
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round-41 parser fixes (both LOW, from the parser-3 and parser-4 audit batches).
R41-P3-L1: raw string literals on the serde raw-token fallback
serde_attrs/fallback.rs:leading_string_literalaccepted only"...", so when the structured#[serde(...)]walk fails,default = r"f"/rename = r#"f"#read as absent. It now also accepts raw literals (r"...",r#"..."#), decoded bysyn::LitStras before. Test:test_fallback_reads_raw_and_plain_literal_values(plain, raw, raw hashed, raw keeping a backslash; default and rename). The raw cases fail without the fix.R41-P4-01:
crate::Schema/self::Schema/super::Schemapicked aCrateSchema-style componenttype_schema/conversion.rs: the<module>Schemaconvention took the path keyword as a module name. The convention now skips acrate/self/superparent, so the bareSchemais named. Test: sidecarconversion/tests_path_keyword.rs(three cases). They fail without the fix.Scope:
crates/vespera_macro/src/parser/**only. Changepack:.changepacks/changepack_log_parser_round41.json(all seven packages, Patch).Checks:
cargo test -p vespera_macro(all suites),cargo clippy -p vespera_macro --all-targets -- -D warnings,cargo fmt --check. Files stay under 1000 lines (fallback.rs986,conversion.rs944).Not changed, noted in the audit:
in_string_literalinfallback.rsdoes not know raw strings, so a raw literal containing\"(for exampler"C:\") can hide a later key from the fallback scan. No finding was filed for it.🤖 Generated with Claude Code