Skip to content

internal/ast: add column tracking to positions#26

Merged
fjl merged 3 commits into
fjl:masterfrom
johnletey:ast/column-tracking
Mar 25, 2026
Merged

internal/ast: add column tracking to positions#26
fjl merged 3 commits into
fjl:masterfrom
johnletey:ast/column-tracking

Conversation

@johnletey
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Owner

@fjl fjl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it looks alright. I tested a bit and one thing that became clear is, I should really add support for position tracking in expressions now. It was kinda OK before with only the line number being reported. But with errors now containing a column number, it's awkward that expression related errors are always reported with the line+column of the statement that the expression in used in.

@fjl fjl merged commit f7b73d8 into fjl:master Mar 25, 2026
1 check passed
@johnletey johnletey deleted the ast/column-tracking branch March 25, 2026 11:51
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