01:09
stanrifkin left
01:18
Manifest0 left
01:26
hulk joined
01:27
kylese left
01:36
librasteve_ left
|
|||
wayland | tell melezhik The Sparrowdo link at sparrowhub.io/ links to Sparky instead. | 01:58 | |
.tell melezhik The Sparrowdo link at sparrowhub.io/ links to Sparky instead. | 02:05 | ||
tellable6 | wayland, I'll pass your message to melezhik | ||
02:15
hulk left,
kylese joined
04:38
Sgeo left
04:41
Sgeo joined
04:50
kylese left,
kylese joined
04:53
arkiuat left
05:06
arkiuat joined
05:07
Aedil joined
05:11
arkiuat left
05:18
kjp left,
kjp joined
05:24
deoac left
05:39
arkiuat joined
05:44
arkiuat left
05:56
arkiuat joined
06:01
arkiuat left
06:14
arkiuat joined
06:18
arkiuat left
06:30
arkiuat joined
06:39
arkiuat left
06:51
arkiuat joined
06:55
arkiuat left
06:58
lichtkind joined
07:09
arkiuat joined
07:13
arkiuat left
07:15
derpydoo joined
07:25
arkiuat joined
07:38
merp left
08:02
Aedil left
08:29
arkiuat left
08:35
arkiuat joined
08:38
euandreh joined
08:40
arkiuat left
08:41
derpydoo left
08:49
Sgeo left
08:53
derpydoo joined
09:11
arkiuat joined
09:16
arkiuat left,
jmcgnh left
09:18
jmcgnh joined
09:36
arkiuat joined
09:40
arkiuat left
10:09
arkiuat joined
10:14
arkiuat left
10:24
Manifest0 joined
10:26
xinming left
10:32
derpydoo left
10:37
arkiuat joined
10:41
arkiuat left
11:09
arkiuat joined
|
|||
tbrowder | hi, anyone using windows using scoop for installing? if so, does it have any raku packages? | 11:10 | |
11:14
arkiuat left
11:29
arkiuat joined
11:40
euandreh left
11:42
arkiuat left
11:54
arkiuat joined
11:58
arkiuat left
12:11
euandreh joined
12:12
apac joined
12:20
arkiuat joined
12:24
arkiuat left
12:34
euandreh left
12:56
arkiuat joined
13:01
arkiuat left
13:10
euandreh joined
13:24
arkiuat joined
|
|||
arkiuat | I keep getting "Default constructor only takes named arguments" even though MyClass.^can('new') returns (new new), so the second multi method (which takes positional args) is there | 13:54 | |
although that's odd two, because I made two multi-method-news so in addition to the default named-parameter .new() there ought to be three in that listing | 13:55 | ||
s/odd two/odd too/ | |||
oh, checking the .arity on the two .new methods, they both show .arity 1, so those are both named-parameter, both inherited. So at least I know that that neither of the multis I added are showing up in the call chain | 13:58 | ||
Introspection is pretty cool | 13:59 | ||
14:51
wayland left,
wayland joined
15:30
apac left
15:33
arkiuat left
15:45
arkiuat joined
15:48
Manifest0 left
15:50
arkiuat left
15:55
arkiuat joined
16:18
apac joined
16:31
xinming joined
|
|||
lizmat | arkiuat: if you can provide a gist re your .new issue, we could have a look to see what's wrong | 16:46 | |
arkiuat | if I don't find my own silly error while trying to golf it down to a single-issue snippet, I'll keep that in mind and post one for y'all. But I may not get a chance to work on this again until Monday or even Tuesday | 16:47 | |
16:51
lucerne left
16:53
lucerne joined
16:58
Aedil joined
|
|||
lizmat | the problem in those cases is usually that the signature of your own .new doesn't match with what you think it should | 17:02 | |
an easy test case is to temporarily remove the "multi" from the "multi method new" and see what error that generates | |||
17:29
librasteve_ joined,
human_blip left
17:32
human_blip joined
17:40
abraxxa-home joined
17:45
abraxxa-home left
17:46
abraxxa-home joined
18:01
wayland left
18:02
wayland joined
18:24
abraxxa-home left
18:50
abraxxa-home joined
19:23
Sgeo joined
19:40
arkiuat left
19:53
arkiuat joined
19:57
arkiuat left
20:09
arkiuat joined
|
|||
arkiuat | lizmat: that's a great tip, thanks! it not only immediately revealed my problem here, but i've been stumped by this same error message before, and I bet it would've helped all of those times too | 20:18 | |
lizmat | you're very much welcome :-) been there, done that :-) | ||
disbot4 | <vendethiel> o/ | 20:20 | |
<vendethiel> m: my class A { has $!x; }; my $a = A.new(x => 10); my @a = A.^attributes; @a[0].get_value($a); | |||
<Raku eval> | |||
lizmat | m: my class A { has $!x; }; my $a = A.new(x => 10); my @a = A.^attributes; say @a[0].get_value($a); | 20:21 | |
disbot4 | <vendethiel> is that meant to be possible? can I make it available? | ||
camelia | (Any) | ||
lizmat | m: my class A { has $.x; }; my $a = A.new(x => 10); my @a = A.^attributes; say @a[0].get_value($a); | ||
camelia | 10 | ||
lizmat | make it public? | ||
m: my class A { has $!x is built; }; my $a = A.new(x => 10); my @a = A.^attributes; say @a[0].get_value($a); | |||
camelia | 10 | ||
lizmat | or make it sure it's being built | ||
disbot4 | <vendethiel> I want to provide force-include/force-exclude is traits for my serialization module | 20:22 | |
<vendethiel> I can forcefully call trait_mod:<is>($a, :built); I guess | |||
<vendethiel> thanks! | 20:23 | ||
<vendethiel> I need to read up on is built cause I don't remember anything about it | 20:25 | ||
lizmat | basically it allows you to more options with regards to automatically creating accessors and/or accepting values to initialize with | 20:39 | |
$!x is built does not create an accessor .x but it does allow you to initialize x with .new | 20:40 | ||
20:54
vasko44 joined
20:56
vasko4 left,
vasko44 is now known as vasko4
21:05
Aedil left
21:08
deoac joined
21:10
MasterDuke joined
21:24
euandreh left
21:29
MasterDuke left
21:30
arkiuat left
21:48
oodani left
21:49
oodani joined
21:54
arkiuat joined
21:58
arkiuat left
22:20
oodani left
22:23
oodani joined
22:24
arkiuat joined
22:28
arkiuat left
22:39
BinGOs left,
abraxxa-home left
22:40
bingos joined
22:44
bingos left,
bingos joined
22:46
apac left
22:52
abraxxa-home joined
22:55
lichtkind left
22:58
arkiuat joined
23:05
arkiuat left
23:27
arkiuat joined
23:32
arkiuat left,
abraxxa-home left
23:42
deoac left
23:43
kst left
23:47
arkiuat joined
23:55
arkiuat left
|