You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: facebook#2702
Changes `assert_type` to check for equivalence between types instead of normalizing types and and checking for equality. This is both more spec-compliant and simpler.
Most of the test changes are because we no longer normalize `Unknown` to `Any`. Looks like we also recognize some more types as equivalent that we previously thought were different, in numpy.
Differential Revision: D95641740
"Line 140: Unexpected errors ['This `yield` expression is unreachable']",
@@ -42,7 +42,7 @@
42
42
"Line 186: Expected 1 errors",
43
43
"Line 197: Expected 1 errors",
44
44
"Line 167: Unexpected errors ['assert_type(Class7[int], Class7[str]) failed', \"Argument `Literal['']` is not assignable to parameter `x` with type `int`\"]",
0 commit comments