Closed vasslitvinov closed 5 years ago
@vasslitvinov / @benharsh: What are the challenges involved in deprecating uses of initCopy() on domains in favor of initializers?
Isn't this about the initCopy for _iteratorRecord? If so, I think it falls into the same bucket as the sync/single/array-slice unwrapping problem.
I have not looked into that question. BenH/Lydia probably have a better understanding.
The code at the bottom is a simplification of the current code in
test/studies/hpcc/RA/diten/
, with a range shape 0..#numLocs replaced by a domain shape LocaleSpace. (Any domain can be used instead.) This replacement simulates what would happen in that RA test if we switched shape preservation for ranges from using the shape-less initCopy (#10942) to the shape-ful one (added for domains in #9994).In that code I am currently getting:
This appears to be due to incorrect visibility of a compiler-generate function upon a loop expression.
Test :