Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn ResolvedPos.column and ResolvedSpan.end into properties #15

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

pvcnt
Copy link
Contributor

@pvcnt pvcnt commented Oct 31, 2024

ResolvedPos.column and ResolvedSpan.end are currently exposed as methods instead of properties. This is not consistent with having ResolvedPos.line and ResolvedSpan.begin being exposed as properties.

ResolvedPos.column and ResolvedSpan.end are currently exposed as methods instead of properties. This is not consistent with having ResolvedPos.line and ResolvedSpan.begin being exposed as properties.
@inducer
Copy link
Owner

inducer commented Oct 31, 2024

Makes sense, thanks! Technically it's breaking compatibility, but I suspect this doesn't have super many users just yet, so it's probably OK.

@inducer inducer enabled auto-merge (rebase) October 31, 2024 13:57
@inducer inducer merged commit 6107035 into inducer:main Oct 31, 2024
11 checks passed
@pvcnt
Copy link
Contributor Author

pvcnt commented Oct 31, 2024

Yes, I thought about backwards compatibility as well... I assumed that if these particular fields were used, "somebody" would have seen the discrepancy.

@pvcnt pvcnt deleted the patch-1 branch October 31, 2024 14:00
@pvcnt pvcnt mentioned this pull request Oct 31, 2024
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