By the way, while adding the test case I found an additional regression involving loop termination by a 'var = ...' clause. I'll open another bug about it soon.