-
Notifications
You must be signed in to change notification settings - Fork 87
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
Steep does not support inverting a boolish value #939
Comments
tk0miya
added a commit
to tk0miya/steep
that referenced
this issue
Oct 24, 2023
tk0miya
added a commit
to tk0miya/rbs
that referenced
this issue
Oct 24, 2023
To support inverting boolish values, adds a new interface `_Top` that provides `!` operator. refs: soutaro/steep#939
Should def my_method: (boolish) -> boolish
# in = contravariant ^ ^ out = covariant |
I feel changing I agree that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed Steep emit a warning for the code inverting a boolish value. This is bad result.
The text was updated successfully, but these errors were encountered: