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

Fix #289: New Rule: No match in conditions #304

Merged
merged 3 commits into from
Mar 2, 2023

Conversation

elbrujohalcon
Copy link
Member

Note that I did my analysis and only case statement suffer from this problem, since:

  • ifs have no expression outside of the clauses
  • same goes for receives, maybes and functions
  • trys can totally have matches in their expressions. That's perfectly fine.

@elbrujohalcon elbrujohalcon added this to the 3.0.0 milestone Mar 2, 2023
Copy link
Contributor

@pablocostass pablocostass left a comment

Choose a reason for hiding this comment

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

Just dropping by to review this PR as per request of Brujo :)

Copy link
Collaborator

@paulo-ferraz-oliveira paulo-ferraz-oliveira left a comment

Choose a reason for hiding this comment

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

Seems reasonable.

@elbrujohalcon elbrujohalcon merged commit d90a43b into main Mar 2, 2023
@elbrujohalcon elbrujohalcon deleted the brujo.289.no_match_in_condition branch March 2, 2023 13:22
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.

4 participants