Line numbers wrong in compiled foreach body.
Merge test; bug already fixed in trunk.