Merged
Conversation
src/Language/PureScript/Errors.hs
Outdated
Contributor
|
This looks great! Just see my few notes above. |
Contributor
|
@garyb Any comments on this? I've reviewed it once but not tested it yet. Will do so later today, then merge if there are no concerns. |
c53f8da to
84c94ed
Compare
Throws the overlapping cases in pattern matching definitions.
84c94ed to
9ac688d
Compare
Member
|
Nothing from me, looks 👍 |
Contributor
|
Tested, looks good. I'll merge this once Travis finishes and I can check the |
Contributor
Author
|
@paf31 👍 Great! Can you merge it from this branch? |
Contributor
|
Looks like it. Nice work 😄 |
Contributor
|
Let's fill in the wiki page for the new warning by the way. |
Contributor
Author
|
@paf31 😄 Yes, I'll do it! Thanks! |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Written on top of the exhaustivity checker, it checks for the existence of overlapping patterns.
Example:
It throws:
TODO: