# New Ticket Created by Sam S.
# Please include the string: [perl #125791]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=125791 >
Ranges are supposed to be immutable value types, and they do work that way
w.r.t object identity comparison:
➜ my $r = 5..10;
➜ $r === 5..10;
True
However, the .bounds method returns item containers which, when assigned to,
affect the original Range object:
➜ $r.bounds[1] = 8;
➜ say $r
5..8
The .bounds method should probably be made to decontainerize its return values,
to fix this.