Skip to content
Permalink
Browse files

Partially rollback 46409c0

So that we're back at the status quo of R#2676
  • Loading branch information...
lizmat committed Feb 8, 2019
1 parent db0e3d6 commit f3f7c5cb6346c7cb6ad8453e04e31d0029a8e3a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Range.pm6
@@ -377,7 +377,7 @@ my class Range is Cool does Iterable does Positional {
!! self.list.Str
}

multi method ACCEPTS(Range:D: \topic) {
multi method ACCEPTS(Range:D: Mu \topic) {
(topic cmp $!min) > -(!$!excludes-min)
and (topic cmp $!max) < +(!$!excludes-max)
}

0 comments on commit f3f7c5c

Please sign in to comment.
You can’t perform that action at this time.