Skip to content

parser: fix crash with trailing comma#551

Merged
kodiakhq[bot] merged 2 commits intomasterfrom
steved-fix-parser-crash
Jun 19, 2025
Merged

parser: fix crash with trailing comma#551
kodiakhq[bot] merged 2 commits intomasterfrom
steved-fix-parser-crash

Conversation

@sbdchd
Copy link
Owner

@sbdchd sbdchd commented Jun 19, 2025

fix crash with trailing comma:

select a, from t;

would get stuck at the comma, now we report an error:

error[syntax-error]: unexpected trailing comma
 --> stdin:1:9
  |
1 | select a, from t;
  |         ^
  |

@sbdchd sbdchd added the automerge automerge with kodiak label Jun 19, 2025
@kodiakhq kodiakhq bot merged commit 55b040e into master Jun 19, 2025
28 checks passed
@kodiakhq kodiakhq bot deleted the steved-fix-parser-crash branch June 19, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge automerge with kodiak

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant