We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a956bd6 commit 9b5103dCopy full SHA for 9b5103d
test-data/unit/check-warnings.test
@@ -49,13 +49,6 @@ from typing import cast
49
a = 1
50
b = cast(object, 1)
51
52
-[case testCastFromLiteralRedundant]
53
-# flags: --warn-redundant-casts
54
-from typing import cast
55
-
56
-cast(int, 1)
57
-[out]
58
-main:4: error: Redundant cast to "int"
59
60
[case testCastFromUnionOfAnyOk]
61
# flags: --warn-redundant-casts
0 commit comments