But then (with pupils dialated), acuity would be reduced, no?
I don't think so for a few reasons (though I'd be interested to hear other thoughts):
1) resolution, whether you're an eyeball or a camera lens, depends on your ability to discriminate contrasting details, and you need to regulate exposure via your pupil diameter in order to do that
2) the pupil does diffract light, and diffracts more heavily at narrower apertures
3) when focusing on close objects you physiologically dilate your pupils to focus (termed accomodation)
Now, your depth of field might change, but I don't think that matters because the angle of view of the fovea is very narrow. And our eyes aren't taking still pictures -- we have rapid movements of the eyes called saccades that dart around to different subjects of interest, and that makes the instantaneous DOF not so important.
You may be right that at full (or excessive) pupillary dilation acuity falls, but that may be a matter of acuity being impeded by an exposure problem.
So for the above situation with the yellow glasses at night, you
have to dilate your pupils in order to maintain the ability to see if you effectively cut exposure to your eyes. Your pupils are making up for the "filter factor" of the glasses, lest they underexpose and you crash because you can't see.