Would be possible. On the other hand, this would be less efficient—would need to make a defensive copy of the `env` argument, and the logic would be needlessly repeated for each location. Also this would make a behavioral change to a lower-level method which is only apparently called from here. So unless there is a particular use case that requires the call to `resolve` to be pushed down, I think it makes more sense here.