fix Issue 13077 - std.range.array with shared InputRangeObject
Merge pull request #2338 from 9rnsr/fix13077

[REG2.066a] Issue 13077 - std.range.array with shared InputRangeObject