Commit cbb60d8
authored
Support @no_type_check with native parser (#20959)
We apply `@no_type_check` in `fastparse.py` using some (fragile) name
matching. A more proper way (which also works for native parser) is to
erase annotations during semantic analysis. This fixes half a dozen
tests with native parser.1 parent c32b392 commit cbb60d8
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1805 | 1805 | | |
1806 | 1806 | | |
1807 | 1807 | | |
| 1808 | + | |
| 1809 | + | |
1808 | 1810 | | |
1809 | 1811 | | |
1810 | 1812 | | |
| |||
8353 | 8355 | | |
8354 | 8356 | | |
8355 | 8357 | | |
| 8358 | + | |
| 8359 | + | |
| 8360 | + | |
| 8361 | + | |
| 8362 | + | |
| 8363 | + | |
| 8364 | + | |
| 8365 | + | |
| 8366 | + | |
0 commit comments