Definitely a bug. Which seems to be limited to the REPL only, fortunately.
> On 16 Sep 2018, at 12:57, Fernando Santagata <nando.santag...@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