Skip to content
Permalink
Browse files

Bring Baggy.perl inline with Setty.perl

Wrt to immutable bag() and mix().  This does not fix the fact that ().Set
().Bag and ().Mix now return the immutable set() bag() mix() respectively.
  • Loading branch information...
lizmat committed Jun 29, 2018
1 parent 5a4c95e commit 84f60adad10f04b3ffa4a5747af9820f8244c2a2
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/Baggy.pm6
@@ -343,10 +343,10 @@ my role Baggy does QuantHash {
nqp::concat(').',self.^name)
),
nqp::if(
nqp::istype(self,Bag),
nqp::eqaddr(self,bag()),
'bag()',
nqp::if(
nqp::istype(self,Mix),
nqp::eqaddr(self,mix()),
'mix()',
nqp::concat('().',self.^name)
)

0 comments on commit 84f60ad

Please sign in to comment.
You can’t perform that action at this time.