🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | log inspection situation still under development | For MoarVM see #moarvm
Set by lizmat on 22 May 2021.
japhb I am seeing this error a lot recently: P6opaque: no such attribute '$!storage' on type Map in a Hash when trying to bind a value 06:45
The failing line is the declaration of a method. The weird thing is, I can usually make it go away by adding a throwaway capture ('|c') to the end of the method params. 06:47
Even weirder, it seems to care about the *contents* of the method, even though the workaround affects only the params. 06:48
For example, using a callsame inside a method of a derived class can trigger the error. *Either* switching the callsame to `self.ParentClass::method` or adding the '|c' to the end of the params makes it go away. 06:49
(All this is from debugging weird behavior in a big mess of class and role definitions, so it's not yet golfed.)
Annoyingly, simple attempts at golfing like this don't trigger the error: 06:52
m: class Foo { method bar() { say "Foo::bar" } }; class Quux is Foo { method bar() { callsame; say "Quux::bar" } }; Quux.new.bar;
camelia Foo::bar
Quux::bar
japhb I even triggered the error in one annoying case by moving some methods from a parent class to an (already-existing) child class nearly unchanged (only module namespace fixes, but otherwise character-identical). 06:54
I've seen the same errors with methods that have empty param lists and methods with rather complex param lists (e.g. both kinds of slurpy, along with multiple other params), so no easy explanation there. 06:56
*both kinds of slurpy --> both positional and associative slurpies
[Tux] Rakudo v2021.10-134-gd1bda7b56 (v6.d) on MoarVM 2021.10-124-g6fd623291
csv-ip5xs0.855 - 0.893
csv-ip5xs-205.272 - 5.623
csv-parser4.260 - 4.323
csv-test-xs-200.408 - 0.413
test6.978 - 7.045
test-t1.647 - 1.657
test-t --race0.957 - 0.972
test-t-2023.795 - 23.896
test-t-20 --race7.310 - 7.723
07:56
sena_kun hi folks 18:14
I'm writing a post about latest Comma features for the advent calendar, the bit about public ones is done. Should I write some about paid ones or will it be just ads? 18:15
[Coke] fwiw, it's fine with me, as long as it's clearly marked as part of the paid version. 18:17
but IANARSCM
lizmat sena_kun: it's about features, isn't it? then it's only indirectly advertisement. And only advertisement in the best way, I'd say 22:09
MasterDuke japhb: nine merged some fixes to moarvm yesterday and lizmat bumped nqp+rakudo, are you getting the errors after those? 22:11
japhb MasterDuke: Yeah, I rebuilt a couple times, and the latest version I saw this problem with was 2021.10-134-gd1bda7b56 23:16
MasterDuke ah, too bad, sounded like something those recent fixes might have helped 23:24
japhb Yeah, I was hoping so myself. 23:48