Browse files

work around missing sink context from traits

fixes "is assoc"
  • Loading branch information...
1 parent 69bbd1a commit 930369237ab86290bdf0eb4cca5f6b403438d6df @moritz moritz committed Dec 28, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/traits.pm
View
1 src/core/traits.pm
@@ -80,6 +80,7 @@ multi trait_mod:<is>(Routine:D $r, :prec(%spec)!) {
$r.HOW.mixin($r, Precedence);
nqp::bindattr(nqp::p6decont($r), $r.WHAT, '%!prec', %spec);
}
+ 0;
}
multi trait_mod:<is>(Routine $r, :&equiv) {
nqp::can(&equiv, 'prec')

0 comments on commit 9303692

Please sign in to comment.