Commit 6323e9d
committed
Make StrEnum
Apparently, enums members should not include type annotations, instead
type checkers are supposed to infer the type from the assigned value
itself. Long-term, we might want to support Enums by default, but for no
use this not so satisfying workaround.ScopeType compatible with stubtest1 parent e0c39be commit 6323e9d
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
0 commit comments