Skip to content

Conversation

orisano
Copy link
Contributor

@orisano orisano commented Jun 6, 2023

Sorry, #2250 will panic if Location is not set properly.
Fixed sqlite convert because many nodes don't have Location set properly.

@orisano orisano changed the title fix: add location info to sqlite ast fix(engine/sqlite): add location info to sqlite ast Jun 6, 2023
@kyleconroy kyleconroy merged commit 9c64cfa into sqlc-dev:main Jun 7, 2023
@kyleconroy
Copy link
Collaborator

Thanks for the quick fix! We should also probably make sure that we never pass -1 to strings.Repeat

alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants