-
Notifications
You must be signed in to change notification settings - Fork 25
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
union types as 'X | Y' not detected sometimes #159
Comments
Thank you for reporting this. And sorry for the slow reply! I'm looking into it and found a fix for it. The problem is that it's currently very difficult to sort the true and false positive matches. This has also been discussed in other issues, like #103, where we might need to make this detection opt-in. |
I've added a fix nonetheless because it didn't properly detect union types when
|
Describe the bug
union types as 'X | Y'
not detected under some circumstances.To Reproduce
but
vermin
does not detect this:Expected behavior
I expected vermin to detect
L6: union types as 'X | Y' require !2, 3.10
.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: