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
Diagnostics needed for the silently omitted non-unused attribute on the delimiter of delimited_list parser (%) #70
Currently the L53 of list parser passes the hard-coded unused attribute for the underlying parser. This leads to surprising result at runtime, where the content of the RHS is silently omitted even if the RHS has some explicit attribute.
This is not a defect, it is the correct semantics; see the updated README.
The only issue we have here is the lack of the diagnostics. We definitely need some compiler warning for this pattern, otherwise we end up into the similar situation like #79.
changed the title [-]list parser (`%`) should not omit the RHS if the attribute of delimiter is not an `unused_type`[/-][+]Diagnostics needed for the silently omitted non-unused attribute on the delimiter of delimited_list parser (`%`)[/+]on Oct 5, 2026
Activity
Update README
Update README
Update README
saki7 commentedon Sep 13, 2026
This is not a defect, it is the correct semantics; see the updated README.
The only issue we have here is the lack of the diagnostics. We definitely need some compiler warning for this pattern, otherwise we end up into the similar situation like #79.
unusedandunusedparsers in a parent parser with a non-unusedexposed attribute leads to incomplete parse result at runtime #48[-]list parser (`%`) should not omit the RHS if the attribute of delimiter is not an `unused_type`[/-][+]Diagnostics needed for the silently omitted non-unused attribute on the delimiter of delimited_list parser (`%`)[/+]