Skip to content
Browse files

?() should return False (jnthn++).

  • Loading branch information...
1 parent 795f6a6 commit 7d55a9f1f33caae92efc4cbd16430317e305762c @pmichaud pmichaud committed Aug 7, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/Parcel.pm
View
1 src/core/Parcel.pm
@@ -3,6 +3,7 @@ my class Parcel does Positional {
# is Cool; # parent class
# has $!storage; # RPA of Parcel's elements
+ multi method Bool(Parcel:D:) { nqp::p6bool($!storage) }
multi method Numeric(Parcel:D:) { self.flat.elems }
multi method Str(Parcel:D:) { self.flat.Str }
multi method ACCEPTS(Parcel:D: $topic) { self.list.ACCEPTS($topic) }

0 comments on commit 7d55a9f

Please sign in to comment.
Something went wrong with that request. Please try again.