-
Notifications
You must be signed in to change notification settings - Fork 63
Duplicate variable checking in patterns #1752
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ef9d099
added basic duplicate catching
joshqwang 0f79f72
added duplicate label detection in nested patterns
joshqwang 40cf5a7
added detecting duplicates in labels
joshqwang 6da16da
added duplicatevar error message
joshqwang 15c96e2
added comments, tests, renamed Duplicate to DuplicateLabel in Self.re
joshqwang 1c000d2
Merge remote-tracking branch 'origin/dev' into duplicate-variable-che…
joshqwang dbd690f
Removed redundant get_bindings function
joshqwang de757c6
fixed duplicate variables incorrectly having label self values
joshqwang eea8212
added unit test for let expression
joshqwang dda3388
separated duplicate_bindings and duplicate_variables
joshqwang a9943cc
merged with dev
joshqwang fa1657f
fixed some merging stinkers
joshqwang 5dbf32c
Merge branch 'dev' into duplicate-variable-checking-in-patterns
joshqwang d8e459c
Fix capitalization in Duplicate variable error message
cyrus- 0d90d7a
Merge branch 'dev' into duplicate-variable-checking-in-patterns
joshqwang e25865d
added tests and fixed a bug
joshqwang ffd4029
Merge remote-tracking branch 'origin/dev' into duplicate-variable-che…
dm0n3y 9ba0b30
Merge branch 'dev' into duplicate-variable-checking-in-patterns
dm0n3y fb0edcf
refmt
dm0n3y 0dd89fc
rm comment + fix benign bug mixing expression/pattern duplicates
dm0n3y File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
dm0n3y marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be a fn in listutil that does this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you mean the
dedupfn? that returns entire list deduplicated, this returns just the duplicates.