Permalink
Browse files

Sort of implement "is parcel" (basically the same as "is rw" for now)

  • Loading branch information...
1 parent bc3f73d commit 5023481f42c44ce1f1649b5375529a8fb44e39c6 @lizmat lizmat committed Jul 7, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/traits.pm
View
@@ -76,6 +76,9 @@ multi trait_mod:<is>(Attribute:D $attr, :$box_target!) {
multi trait_mod:<is>(Routine:D $r, :$rw!) {
$r.set_rw();
}
+multi trait_mod:<is>(Routine:D $r, :$parcel!) {
+ $r.set_rw(); # for now, until we have real parcel handling
+}
multi trait_mod:<is>(Routine:D $r, :$default!) {
$r does role { method default() { True } }
}

0 comments on commit 5023481

Please sign in to comment.