# New Ticket Created by H. Merijn Brand # Please include the string: [perl #124082] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=124082 >
$ p6 -e'int.Range.say' -9223372036854775808..9223372036854775807 $ p6 -e'int.Range.max.say' 9223372036854775807 $ p6 -e'Int.Range.say' -Inf..Inf $ p6 -e'Int.Range.max.say' Inf $ p6 -e'Num.Range.say' No such method 'Range' for invocant of type 'Num' in block <unit> at -e:1 $ p6 -e'my int $i = int.Range.max; $i.say' 9223372036854775807 $ p6 -e'my Int $i = Int.Range.max; $i.say' Type check failed in assignment to '$i'; expected 'Int' but got 'Num' in block <unit> at -e:1 $ p6 -e'Inf.WHAT.say' (Num) $ p6 -e'Inf.Int.WHAT.say' (Failure) -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.21 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
pgp7PYzshWKyX.pgp
Description: PGP signature