Commit 16b5922
Mark ErrorCodes as serializable (#15218)
When starting mypy daemon, we pickle options. Error codes are part of
options and need to be pickle-able. This decorator is needed for this to
be possible with mypyc.
Fixes #14671
---------
Co-authored-by: Valentin Stanciu <250871+svalentin@users.noreply.github>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>1 parent fe7007f commit 16b5922
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
0 commit comments