Yes, native integers/nums don't work in the REPL (that's any uint or int
with number after it, or num32 or num64 or num or int or long etc).

On 09/01/2020 19:16, ToddAndMargo via perl6-users wrote:
> On 2020-01-09 10:11, ToddAndMargo via perl6-users wrote:
>> Hi All,
>>
>> What am I doing wrong here?
>>
>> Many thanks,
>> -T
>>
>>
>> $ raku
>> To exit type 'exit' or '^D'
>>  > my uint32 $c;
>> 0
>>
>>  > $c = 0xFFAA;
>> Cannot find method 'qast' on object of type NQPMu
>>
>>  > $c = 2;
>> Cannot find method 'qast' on object of type NQPMu
>>
>
>
> $ p6 'my uint32 $c; $c = 0xFFAA; say $c.base(16);'
> FFAA
>
> Hmmmmmmm ...........
>
> Bug in REPL?

Reply via email to