Raku modules in Gentoo's Portage

2020-12-01 Thread p.spek via perl6-users
Hi, fellow Rakoons, I've been looking into the creation of a Portage tree for Gentoo, to allow installation of Raku modules through the default package manager. There's currently two issues I need to iron out, and I have no clue how to fix either at this point. The first one deals with the instal

Re: Raku modules in Gentoo's Portage

2020-12-01 Thread Brad Gilbert
I suspect that the right way to do this may be to do something like having a subclass of CompUnit::* which does things the Gentoo way. I would assume that the lock is so that only one copy of Rakudo is changing the repository at a time. Presumably Gentoo already prevents more than one thing instal

Missing NullPointerException

2020-12-01 Thread Konrad Bucheli via perl6-users
Hi I miss an error on my first invocation of `c` below: $ raku Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.10. Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d. Built on MoarVM version 2020.10. To exit type 'exit' or '^D' > class a { method b {return}} (a) > say a.b.c Nil > my $b = a.b (Any) > say $b.c No such me

Re: Missing NullPointerException

2020-12-01 Thread Patrick R. Michaud
The difference is between the result of "Nil.c" and "Any.c". On my current version of Rakudo, "Nil.c" returns Nil, while Any.c throws the "No such method" exception. In fact, Nil.any_non_existent method always seems to return Nil. I'm not sure where this is documented, but it's likely the re