Why this code returns a "Referencing operator function \'+\' on \'RangeReplaceableCollection\' requires that \'T\' conform to \'RangeReplaceableCollection\' message ?