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
{{ message }}
Repository navigation
Replace unsupported type println calls with structured parser diagnostics #425
enhancementA request for a new feature or improvement.good first issueIssues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.
The declaration parser still reports some unknown or unsupported types with direct println! calls before returning an error. This bypasses Wave’s structured diagnostic renderer and prevents consistent error codes, spans, context, and JSON output.
Relevant code
front/parser/src/parser/decl.rs
existing structured parser diagnostic helpers and fixtures
Scope
Replace the direct output paths used while parsing declaration parameter and return types with structured parser errors. Do not redesign the complete diagnostic system in this issue.
Acceptance criteria
The parser does not print unknown-type messages directly.
Both affected declaration paths return structured diagnostics.
Diagnostics identify the unsupported type token and retain its source location.
Human-readable and JSON diagnostic modes remain valid.
Focused parser fixtures cover parameter and return-type failures.
enhancementA request for a new feature or improvement.good first issueIssues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.
Activity
Fix frontend contracts and native regression tests (#723)