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

checkers: fix sqlQuery panic #933

Merged
merged 1 commit into from May 26, 2020
Merged

Conversation

quasilyte
Copy link
Member

If astcast to SelectorExpr failed, funcExpr.Sel will be nil.

Bug reported by @un000

Signed-off-by: Iskander Sharipov quasilyte@gmail.com

un000
un000 previously approved these changes May 26, 2020
If astcast to SelectorExpr failed, funcExpr.Sel will be nil.

Bug reported by @un000

Also move "_" lhs check up, since it's cheaper.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
Copy link

@un000 un000 left a comment

Choose a reason for hiding this comment

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

🛠️

@quasilyte quasilyte merged commit 9b86fe6 into master May 26, 2020
@quasilyte quasilyte deleted the quasilyte/fix/sqlQuery_panic branch May 26, 2020 22:50
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.

None yet

2 participants