diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2024-02-11 18:50:36 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-02-12 18:52:43 -0500 |
| commit | 6f7e74505246ac0363a83c49339026e977a1c03d (patch) | |
| tree | ce1f77bbe373cf01595fc7281e647e0d2ea83bab /test cases/python/1 basic | |
| parent | fc41fd3542f1bafc0b8a2ade1ca92b25c072e054 (diff) | |
| download | meson-6f7e74505246ac0363a83c49339026e977a1c03d.tar.gz | |
Remove implicit-optional assignment in `__init__` that cannot ever be true
IfClauseNode is only ever initialized in such a way that this attribute
is immediately set to something valid. And attempting to access its
value when the value is None would be a pretty broken error anyway. The
assignment served no purpose, but did perform a frivolous runtime op in
addition to angering mypy's checks for implicit None.
Diffstat (limited to 'test cases/python/1 basic')
0 files changed, 0 insertions, 0 deletions
