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

Check switch/case values for tag mismatch #475

Merged
merged 3 commits into from Mar 15, 2020

Conversation

Daniel-Cortez
Copy link
Contributor

What this PR does / why we need it:

Fixes an oversight with the compiler not checking the switch/case values for tag mismatch, as described in #468.

Which issue(s) this PR fixes:

Fixes #468

What kind of pull this is:

  • A Bug Fix
  • A New Feature
  • Some repository meta (documentation, etc)
  • Other

Additional Documentation:

@Southclaws Southclaws merged commit 4480ec0 into pawn-lang:dev Mar 15, 2020
@Daniel-Cortez Daniel-Cortez deleted the switch-case-tag-control branch May 31, 2020 14:28
Daniel-Cortez added a commit to Daniel-Cortez/pawn-3.10 that referenced this pull request Jun 30, 2020
* Check switch/case values for tag mismatch

* Add tests

* Also check the tag for range end values
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