Permalink
Browse files

A doubled 'or' caught by work in the optimizer branch.

  • Loading branch information...
1 parent 867ebd6 commit 12b860df69aaf63611de6f97b0b6d560a81bdd77 @jnthn jnthn committed Sep 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Temporal.pm
View
@@ -91,7 +91,7 @@ my role Dateish {
method check-value($val is rw, $name, $range, :$allow-nonint) {
$val = $allow-nonint ?? +$val !! $val.Int;
- $val ~~ $range or
+ $val ~~ $range
or die "$name must be in {$range.perl}\n";
}

0 comments on commit 12b860d

Please sign in to comment.