chapel-lang/chapel — pull request #713 by bradcray (2014-10-30 17:55:22+00:00)
Title: Addressing --baseline regression from last night and adding a future

It seems that using a 'ref' var (currently 'refvar') within an
iterator breaks when the iterator is represented by an object, as
this test demonstrates. When we're not compiling --baseline,
the iterator object is optimized away, so things work fine; but with
--baseline, it segfaults. I'm not 100% confident I'm diagnosing this
properly, but it makes sense and seems to match what I'm seeing
in the generated code. See the .future file for details.