> It's a bug in the REPL. The example from the documentation works when
fed to the compiler directly

So is the error
Cannot find method 'qast' on object of type NQPMu

any use in finding the REPL bug?
________________________________
From: William Michels via perl6-users <perl6-us...@perl.org>
Sent: Tuesday, May 25, 2021 4:04 PM
To: perl6-us...@perl.org <perl6-us...@perl.org>
Subject: Re: File::Find using a junction with exclude

CAUTION - EXTERNAL:

Well spotted, Gianni!

user@mbook:~$ raku -e 'my int $x = 2⁶³-1;say ++$x;'
-9223372036854775808
user@mbook:~$ raku --version
Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.10.
Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d.
Built on MoarVM version 2020.10.


On Tue, May 25, 2021 at 8:38 AM Gianni Ceccarelli 
<dak...@thenautilus.net<mailto:dak...@thenautilus.net>> wrote:
On Tue, 25 May 2021 15:16:03 +0000
Andy Bach <andy_b...@wiwb.uscourts.gov<mailto:andy_b...@wiwb.uscourts.gov>> 
wrote:

> > However I had to use "Int" instead of "int":
> Ah, "int" is the "lower" level, native integer and "Int" is the raku.
> An "int" is immutable or something?

It's a bug in the REPL. The example from the documentation works when
fed to the compiler directly::

  $ raku -e 'my int $x = 2⁶³-1;say ++$x;'
  -9223372036854775808

--
        Dakkar - <Mobilis in mobile>
        GPG public key fingerprint = A071 E618 DD2C 5901 9574
                                     6FE2 40EA 9883 7519 3F88
                            key id = 0x75193F88

CAUTION - EXTERNAL EMAIL: This email originated outside the Judiciary. Exercise 
caution when opening attachments or clicking on links.

Reply via email to