Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
decontainerize bare Zen slices
  • Loading branch information
TimToady committed Feb 28, 2015
1 parent 6959323 commit 9d41570
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/array_slice.pm
Expand Up @@ -252,7 +252,7 @@ multi sub postcircumfix:<[ ]>(\SELF, HyperWhatever:D $, Mu \assignee) is rw {

# @a[]
multi sub postcircumfix:<[ ]>( \SELF ) is rw {
SELF;
nqp::decont(SELF);
}
multi sub postcircumfix:<[ ]>(\SELF, :$BIND!) is rw {
X::Bind::ZenSlice.new(type => SELF.WHAT).throw;
Expand Down
2 changes: 1 addition & 1 deletion src/core/hash_slice.pm
Expand Up @@ -104,7 +104,7 @@ multi sub postcircumfix:<{ }>(\SELF, Whatever, :$p!, *%other) is rw {

# %h{}
multi sub postcircumfix:<{ }>( \SELF ) is rw {
SELF;
nqp::decont(SELF);
}
multi sub postcircumfix:<{ }>(\SELF, :$BIND!) is rw {
X::Bind::ZenSlice.new(type => SELF.WHAT).throw;
Expand Down

0 comments on commit 9d41570

Please sign in to comment.