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

Re: Is this a bug?

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
September 16, 2018 12:28
Subject:
Re: Is this a bug?
Message ID:
A7D26F26-E2BC-4085-A64C-6AB6F1263A4D@dijkmat.nl
Definitely a bug.  Which seems to be limited to the REPL only, fortunately.

> On 16 Sep 2018, at 12:57, Fernando Santagata <nando.santagata@gmail.com> wrote:
> 
> 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 Previous | 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