are you dead sure that this is under no circumstances a regression? like if i pass in some object that can do foreach? or do we have a similar construct elsewhere already?