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
Wave removed local let and let mut declarations in favor of var. Legacy parser code already knows the correct migration message, but the structured top-level error replaces it with a generic "failed to parse function declaration" diagnostic.
Expected diagnostic
For both forms:
let value: i32 = 1;
let mut value: i32 = 1;
the error should point to let and tell the user to use var.
Scope
Propagate the local declaration failure as a structured parser diagnostic.
Preserve the exact source span and migration help.
Keep let tokenized only so it can produce this diagnostic; do not restore the syntax.
Activity
Improve source diagnostics and reject recursive inline storage (wavef…