Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

run type-based.t, fix an unrelated thinko

  • Loading branch information...
commit e658f0d40790ddfc7b7aedcd2d6234d9c4f3eff8 1 parent 69b7e56
@moritz moritz authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/core/Str.pm
  2. +1 −1  t/spectest.data
View
2  src/core/Str.pm
@@ -303,7 +303,7 @@ my class Str does Stringy {
multi method subst($matcher, $replacement,
:ii(:$samecase), :ss(:$samespace), *%options) {
- die ":samespace not yet implemented" if $samecase;
+ die ":samespace not yet implemented" if $samespace;
my @matches = self.match($matcher, |%options);
return self unless @matches;
return self if @matches == 1 && !@matches[0];
View
2  t/spectest.data
@@ -299,7 +299,7 @@ S06-multi/lexical-multis.t
S06-multi/positional-vs-named.t
# S06-multi/proto.t # err: Illegal redeclaration of routine 'bar'
S06-multi/syntax.t
-# S06-multi/type-based.t # err: No applicable candidates found to dispatch to for 'foo'
+S06-multi/type-based.t
S06-multi/value-based.t
S06-multi/unpackability.t
S06-operator-overloading/imported-subs.t
Please sign in to comment.
Something went wrong with that request. Please try again.