Permalink
Browse files

BUILD should be a submethod

  • Loading branch information...
moritz committed Oct 17, 2011
1 parent c28552e commit 548e56a95b043354d97437ea975690cf08406622
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Range.pm
View
@@ -19,7 +19,7 @@ class Range is Iterable does Positional {
}
method BUILD($min, $max, $excludes_min, $excludes_max) {
submethod BUILD($min, $max, $excludes_min, $excludes_max) {
$!min = $min;
$!max = $max;
$!excludes_min = $excludes_min.Bool;

0 comments on commit 548e56a

Please sign in to comment.