The following code demonstrates what appears to be inconsistencies in the treatment of the foreach statement in ASH. The code was verified and run in r10016 and r10058, and shows no errors.
(Note that this code is designed to demonstrate certain specific issues, not to actually perform any...