Commit 4b46d09
[stubgen] Fix
Fixes #18905
`TypeAlias` is an unanalyzed type, but is also an alias. So I changed a
little bit of checking in the `visit_assignment_stmt` method.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>TypeAlias handling (#18960)1 parent 1af7b2c commit 4b46d09
2 files changed
+33
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | 923 | | |
| 924 | + | |
927 | 925 | | |
928 | | - | |
929 | | - | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
930 | 937 | | |
931 | 938 | | |
932 | 939 | | |
| |||
1139 | 1146 | | |
1140 | 1147 | | |
1141 | 1148 | | |
1142 | | - | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1143 | 1152 | | |
1144 | | - | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1145 | 1158 | | |
1146 | 1159 | | |
1147 | 1160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
1547 | 1560 | | |
1548 | 1561 | | |
1549 | 1562 | | |
| |||
0 commit comments