Back in the old days, we used to have a `ScopedEnvVisitor`. One could subclass this visitor and always have access to a `self.env` that was correct. We should reimplement that and then make all the visitor passes use this again.
Back in the old days, we used to have a
ScopedEnvVisitor. One could subclass this visitor and always have access to aself.envthat was correct.We should reimplement that and then make all the visitor passes use this again.