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

ast: fix a nil deref #244

Merged
merged 1 commit into from
Feb 5, 2024
Merged

ast: fix a nil deref #244

merged 1 commit into from
Feb 5, 2024

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Feb 5, 2024

Avoid nil-pointer-in-non-nil-interface errors by making exprPosition generic over its argument type.

Fixes #243.

@pgavlin pgavlin added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Feb 5, 2024
@pgavlin pgavlin requested a review from lblackstone February 5, 2024 21:16
Avoid nil-pointer-in-non-nil-interface errors by making exprPosition
generic over its argument type.

Fixes #243.
@pgavlin pgavlin enabled auto-merge (squash) February 5, 2024 21:21
@pgavlin pgavlin merged commit 0d2eda1 into main Feb 5, 2024
4 checks passed
@pgavlin pgavlin deleted the pgavlin/nil-deref branch February 5, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic in exprPosition
2 participants