Hi Zoffix,

You reported the same bug in December :P

https://rt.perl.org/Public/Bug/Display.html?id=126818 (although the error
message has changed).

This is the compile time outer context serialization bug. FYI I've kept a
list of tickets that are examples of it:

https://rt.perl.org/Public/Bug/Display.html?id=125634
https://rt.perl.org/Public/Bug/Display.html?id=126818
https://rt.perl.org/Public/Bug/Display.html?id=127034
https://rt.perl.org/Public/Bug/Display.html?id=127112
https://rt.perl.org/Public/Bug/Display.html?id=127858
https://rt.perl.org/Public/Bug/Display.html?id=127860
https://rt.perl.org/Public/Bug/Display.html?id=127959
https://rt.perl.org/Public/Bug/Display.html?id=128636

On Sun, Jul 17, 2016 at 5:59 AM Zoffix Znet <perl6-bugs-follo...@perl.org>
wrote:

> # New Ticket Created by  Zoffix Znet
> # Please include the string:  [perl #128636]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=128636 >
>
>
> If `no precompilation` is added to A.pm6 , the error goes away.
>
> zoffix@VirtualBox:/tmp/tmp.YwbSHxhVWC$ cat A.pm6
> use experimental :cached;
> sub foo($x) is export is cached { $x }
> zoffix@VirtualBox:/tmp/tmp.YwbSHxhVWC$ perl6 -I. -MA -e 'foo 42'
> Cannot invoke this object (REPR: Null; VMNull)
>   in block  at
> /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/sources/AAC61C0EC6F88780427830443A057030CAA33846
> (experimental) line 10
>   in any enter at gen/moar/m-Metamodel.nqp line 3963
>   in block <unit> at -e line 1
>
>
> The issue appeared in one of these commits:
> https://github.com/rakudo/rakudo/compare/2c69ab78bed2d3f622d027e5e5a132ab212f3a77...bc722abe2cd7f9d34060ee6ff71065a00bedcc16
>
>
> Looking at the implementation of is cached, these two bugs may or may not
> be related:
> https://rt.perl.org/Ticket/Display.html?id=128476
> https://rt.perl.org/Ticket/Display.html?id=107844
>
>
>
> --
> Cheers,
> ZZ | https://twitter.com/zoffix
>

Reply via email to