On Tue, Jan 28, 2020 at 14:55 ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:

> No I am really confused:
>
> What part of
>
>      my int8 $u = 0xF8; $u.range
>
> is not following
>
>      method range(--> Range:D)
>
> ?
>
Unless you’re getting the line `method range(--> Range:D)` from somewhere
else, you’re looking at
https://docs.raku.org/routine/range, which says

> Documentation for method range assembled from the following types:

> class X::OutOfRange <https://docs.raku.org/routine/range#___top>

`int8` is not an `X:OutOfRange` object (which is an Exception), so it can’t
participate in the method you reference.

Reply via email to