🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
Voldenet m: my @rows; @rows[0][1] = 1; .Array.say for @rows; 00:00
camelia No such method 'gist' for invocant of type 'VMNull'. Found 'gist' on
type 'Mu'
in block <unit> at <tmp> line 1
Voldenet is this known bug?
moon-child m: my @x; @x[1] = 1; say WHAT @x; say @x.Array 00:05
camelia (Array)
No such method 'gist' for invocant of type 'VMNull'. Found 'gist' on
type 'Mu'
in block <unit> at <tmp> line 1
moon-child ^ smaller repro 00:06
huh, weird 00:07
m: my @x; @x[1] = 1; my $x = @x; say $@x.Array; say $x.Array
camelia No such method 'gist' for invocant of type 'VMNull'. Found 'gist' on
type 'Mu'
in block <unit> at <tmp> line 1
moon-child oh nvm. Not weird; I got confused 00:09
Voldenet m: my @x; @x.AT-POS(1) = 1; say Array.from-list(@x); 00:18
camelia No such method 'gist' for invocant of type 'VMNull'. Found 'gist' on
type 'Mu'
in block <unit> at <tmp> line 1
melezhik . 00:26
hythm m: class C { has int $.x; method add($x) { $!x += $x } }.new.add(1) 02:59
camelia ( no output )
hythm m: class C { method add($x) { $!x += $x }; has int $.x }.new.add(1) ## moving attribute after method 03:00
camelia Cannot assign to an immutable value
in method add at <tmp> line 1
in block <unit> at <tmp> line 1
hythm is this intended?
guifa bisectable: class C { method add($x) { $!x += $x }; has int $.x }.new.add(1) 03:30
bisectable6 guifa, Will bisect the whole range automagically because no endpoints were provided, hang tight
guifa hythm no. But there are still some gremlins in native int handling
bisectable6 guifa, ¦6c (62 commits): «Cannot assign to an immutable value␤ in method add at /tmp/og4yuTw32L line 1␤ in block <unit> at /tmp/og4yuTw32L line 1␤␤ «exit code = 1»» 03:31
guifa, Nothing to bisect!
guifa With Int instead
m: class C { method add($x) { $!x += $x }; has Int $.x }.new.add(1)
camelia ( no output )
hythm guifa, it shows the error only with `int`, `Int` is ok 03:31
guifa yes, that's what I said lol 03:32
Just confirmation that it's a problematic native int handling
hythm haha yes, just confirming :D
guifa pokes nine
nine: not that you've done enough native-y stuff lately but, take a look at this weird one 03:33
hythm created issue #4904 03:45
nine guifa, hythm: I'd guess it's something like during the compilation of the method, the attribute isn't fully set up yet, e.g. lacking the compile time value of the container. In that case there's a high chance, that the bug will go away with RakuAST. That's why I'd rather spend time on the latter than investigate this particular bug. 07:38
lizmat weekly: vrurg.github.io/2022/04/23/Lock-Benchmarking 11:06
notable6 lizmat, Noted! (weekly)
Geth ¦ Documentable: JJ assigned to antoniogamiz Issue Index terms can be duplicated github.com/Raku/Documentable/issues/161 11:16
¦ Documentable: JJ unassigned from antoniogamiz Issue Index terms can be duplicated github.com/Raku/Documentable/issues/161 11:17
El_Che for the comma ide people here: the intellij platform plays cats and mouse with the plugin: Plugin 'Comma Community Edition (Raku Language Support)' (version '2022.01.0') is not compatible with the current version of the IDE, because it requires build 213.* or older but the current build is IU-221.5080.210 11:53
It may be a good idea to offer the plugin in the marketplace so it's automatically upgraded with the rest?
El_Che (nor complaining (free horse and all), just heads up) 12:11
Geth doc/document-index-categories: 28c5a99c68 | Altai-man++ | 2 files
Tweak the new indexing policy document as asked
15:27
doc/document-index-categories: 374d4772f0 | Altai-man++ | writing-docs/INDEXING.md
Mention HTML anchors
16:11
Geth ¦ problem-solving: JJ self-assigned Allow "bare" indexing terms in documentation github.com/Raku/problem-solving/issues/321 16:34
doc/master: 4 commits pushed by Altai-man++ 17:02
japhb El_Che: Thank you, I've filed an issue for the version incompatibility 20:56
El_Che np 21:16
tellable6 2022-04-24T18:54:34Z #raku-dev <jdv> El_Che 2022.04 happened 21:17
patrickb jdv: Precomp release is done. 21:27
El_Che jdv: re: "<jdv> El_Che 2022.04 happened 21:35
El_Che jdv: the community plugin on the site is 2022.01.0 21:36
japhb El_Che: I believe jdv was referring to the Rakudo release, not Comma 21:42
Geth doc: 395d47e467 | Coke++ | writing-docs/INDEXING.md
typos
23:37
doc: 57fc41d423 | Coke++ | xt/pws/words.pws
new word
doc: e3a0b27c5c | Coke++ | xt/search-categories.t
Track change of category name