missing checker notice/warning for a known duplicate value in a if x in [val1, val1, val2] {
#22305
Labels
Feature Request
This issue is made to request a feature.
Good First Issue (easy task)
This issue is suitable to be worked on by new contributors.
Unit: Checker
Bugs/feature requests, that are related to the type checker.
V doctor:
What did you do?
./v -g -o vdbg cmd/v && ./vdbg /v/misc/2024_09_25__11/a.v
What did you expect to see?
A compiler notice or warning, that 2 is a duplicate value in the condition list, used for the
x in list
check .What did you see instead?
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: