Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 46913d6d9ffc973287cc4a8b2ea269db8f8dc8ac 1 parent 463daf0
@jnthn jnthn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/Junction.pm
View
2  src/core/Junction.pm
@@ -20,7 +20,7 @@ my class Junction is Mu {
}
multi method Str(Junction:D:) {
- self.new($!storage.map({$_.Str}), :type($!type))
+ self.perl
}
multi method ACCEPTS(Junction:D: Mu \topic) {
Please sign in to comment.
Something went wrong with that request. Please try again.