rust-analyzer/crates/parser/test_data
Yutaro Ohno e865d45904 fix: Recover from missing argument in call expressions
Previously, when parsing an argument list with a missing argument (e.g.,
`(a, , b)` in `foo(a, , b)`), the parser would stop upon an unexpected
token (at the second comma in the example), resulting in an incorrect
parse tree.

This commit improves error handling in such cases, ensuring a more
accurate parse tree is built.
2024-02-08 10:54:04 +01:00
..
lexer fix: handle errors for string byte string and c_string 2023-10-11 15:25:52 +02:00
parser fix: Recover from missing argument in call expressions 2024-02-08 10:54:04 +01:00