Commit f3d34fc
Teach is_signature_compatible() to dig into similar annotations (meta-pytorch#2693)
Summary:
Pull Request resolved: meta-pytorch#2693
D68450007 updated some annotations in pytorch. This function wasn't correctly evaluating `typing.Dict[X, Y]` and `dict[X, Y]` as the equivalent.
Reviewed By: izaitsevfb
Differential Revision: D68475380
fbshipit-source-id: 3b71ab41f95e6c20986ebe6fbf6f9cbe3b3d58f91 parent 20a31be commit f3d34fc
1 file changed
+29
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
11 | 37 | | |
12 | 38 | | |
13 | 39 | | |
| |||
84 | 110 | | |
85 | 111 | | |
86 | 112 | | |
87 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
88 | 116 | | |
89 | 117 | | |
0 commit comments