develooper Front page | perl.perl6.users | Postings from September 2018

Is this a bug?

Thread Next
From:
Fernando Santagata
Date:
September 16, 2018 10:58
Subject:
Is this a bug?
Message ID:
CAJ+jyGi+T4WVeFzNyWm2oDMMRi-fNKHR_ODtK5yVmToNrfaZUA@mail.gmail.com
Hello,

I found this behavior quite strange:

> my int32 $a = 2
2
> $a.^name
Int
> $a.WHAT
At Frame 1, Instruction 20, op 'getlex_ni', operand 0, MAST::Local of wrong
type (3) specified; expected 4

> my num64 $b = 1.23e-2
0.0123
> $b.^name
Num
> $b.WHAT
(Num)

This is Rakudo version 2018.08 built on MoarVM version 2018.08

-- 
Fernando Santagata

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About