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

quickfix: avoid panic in CheckDeMorgan #1510

Closed

Conversation

shota3506
Copy link

fix the issue #1484

pass.TypesInfo.TypeOf(expr) could return nil in some cases.
In the given example, the type of KeyValueExpr is not found.
Then it causes panic.

@dominikh dominikh closed this in 5275b91 May 21, 2024
@shota3506 shota3506 deleted the avoid-panic-in-check-de-morgan branch May 24, 2024 11:34
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

1 participant