🦋 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.
00:02 reportable6 left 00:04 reportable6 joined 00:09 squashable6 left 00:11 squashable6 joined 01:01 patrickb left 01:11 japhb left, japhb joined 01:48 kjp left 02:15 jgaz joined 03:20 evalable6 left, linkable6 left 03:22 evalable6 joined 04:22 linkable6 joined 05:22 quotable6 left, nativecallable6 left, reportable6 left, sourceable6 left, tellable6 left, committable6 left, shareable6 left, notable6 left, unicodable6 left, linkable6 left, coverable6 left, benchable6 left, evalable6 left, bisectable6 left, releasable6 left, bloatable6 left, greppable6 left, squashable6 left, statisfiable6 left 05:23 coverable6 joined 05:24 shareable6 joined, reportable6 joined, statisfiable6 joined 05:25 linkable6 joined, nativecallable6 joined, quotable6 joined, evalable6 joined 06:03 reportable6 left 06:04 frost joined 06:23 notable6 joined 06:24 benchable6 joined, tellable6 joined 06:25 sourceable6 joined
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
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
07:03 reportable6 joined 07:23 greppable6 joined 07:25 unicodable6 joined, bisectable6 joined 07:26 squashable6 joined
[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:57 frost left 08:02 linkable6 left 08:05 linkable6 joined 08:24 releasable6 joined, committable6 joined 09:01 jgaz left 10:30 atroxaper joined 10:56 atroxaper left 11:23 bloatable6 joined 12:02 reportable6 left, reportable6 joined 14:38 jgaz joined 15:11 jgaz left 17:55 squashable6 left 17:57 squashable6 joined 18:02 reportable6 left 18:05 reportable6 joined
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
19:12 TempIRCLogger left, Geth left 20:59 discord-raku-bot left 21:00 discord-raku-bot joined 21:14 nebuchadnezzar left 22:08 RakuIRCLogger left, Geth joined, RakuIRCLogger joined
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
22:10 TempIRCLogger joined
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