Browse files

Make Junction.Str return...a Str!

Previously, it would form a Junction with everything Str'd. Thing is,
things that (fairly) expect to get back a Str when they call .Str will
then explode when they try to unbox it. This brings us in line with
Niecza's semantics, so at the very least it's convergence...
  • Loading branch information...
jnthn committed Jan 11, 2013
1 parent 463daf0 commit 46913d6d9ffc973287cc4a8b2ea269db8f8dc8ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/
@@ -20,7 +20,7 @@ my class Junction is Mu {
multi method Str(Junction:D:) {
-$!{$_.Str}), :type($!type))
+ self.perl
multi method ACCEPTS(Junction:D: Mu \topic) {

0 comments on commit 46913d6

Please sign in to comment.