Closed JSAbrahams closed 1 year ago
class MyClass def my_field: Int def __init__(self): if False then self.my_field = 10 else self.my_field = 10
Should check.
This can be quickly fixed by again re-introducing unions for Environments. However, this should be done strictly for assign checks, not all variables.
Should also take case that we check that this is for all branches.
Description of Bug
How to Reproduce
Expected behavior
Should check.
Additional context
This can be quickly fixed by again re-introducing unions for Environments. However, this should be done strictly for assign checks, not all variables.
Should also take case that we check that this is for all branches.