Bad interaction between prefer_int_literals
and Enhanced type inference for generic invocations with function literals
#3657
Labels
false-positive
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Describe the issue
This issue is related to #2887
At the moment, there's a bad interaction between prefer_int_literals and Enhanced type inference for generic invocations with function literals introduced in 2.18.
The following snippet of code will cause the lint to emit a warning:
However, the code snippet is no longer valid once the suggested fix is applied.
The text was updated successfully, but these errors were encountered: