🦋 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: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
ab5tract Maybe it’s just pre-coffee brain, but I am failing to grok the problem in the above? 06:40
lizmat m: enum E <one>; role R { has $.e = one; method m() { say $!e ~~ one; } }; R.new.m; 07:49
camelia False
lizmat is counter-intuitive, if not wrong ?
08:24 sena_kun joined 08:32 finanalyst joined
[Tux] Rakudo v2024.05-36-g093009a0d (v6.d) on MoarVM 2024.05-5-gf48abb710
csv-ip5xs0.265 - 0.269
csv-ip5xs-201.133 - 1.146
csv-parser1.550 - 1.572
csv-test-xs-200.141 - 0.141
test1.957 - 1.962
test-t0.425 - 0.426
test-t --race0.279 - 0.279
test-t-205.169 - 5.170
test-t-20 --race1.199 - 1.218
09:25
tux.nl/Talks/CSV6/speed4-20.html / tux.nl/Talks/CSV6/speed4.html tux.nl/Talks/CSV6/speed.log
11:07 dawids joined 11:10 dawids left 11:50 camelia left 11:57 nine left 12:02 camelia joined 12:06 nine joined 12:11 finanalyst left 13:12 sena_kun left 13:13 sena_kun joined 13:15 finanalyst joined 13:44 finanalyst left 14:14 dawids joined 14:16 dawids left 14:36 finanalyst joined 16:31 sena_kun left, sena_kun joined
patrickb bisectable6: enum E <one>; class R { has $.e = one; method m() { say $!e ~~ one; } }; R.new.m; 18:39
bisectable6 patrickb, Will bisect the whole range automagically because no endpoints were provided, hang tight
patrickb, ¦6c (80 commits): «True␤» 18:40
patrickb, Nothing to bisect!
lizmat bisectable6: enum E <one>; role R { has $.e = one; method m() { say $!e ~~ one; } }; R.new.m; 18:43
bisectable6 lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat, Output on all releases: gist.github.com/acd2b5a0a928f12957...9aff6a6029 18:44
lizmat, Bisecting by output (old=2017.09 new=2017.10) because on both starting points the exit code is 0
lizmat, bisect log: gist.github.com/bf64bdd7a604b9783b...1acf2674bf
lizmat, (2017-10-07) github.com/rakudo/rakudo/commit/3a...38f794428f
lizmat, Output on all releases and bisected commits: gist.github.com/492c784884d196fcd3...4fcca2a495
lizmat looks like we have a candidate to investigate, patrickb 18:45
m: enum E <foo>; class R { has $.e = foo; method m() { say $!e ~~ foo; } }; R.new.m; 18:46
camelia True
lizmat m: enum E <foo>; role R { has $.e = foo; method m() { say $!e ~~ foo; } }; R.new.m;
camelia False
lizmat hmmm it's not the name
m: my constant foo = 0; role R { has $.e = foo; method m() { say $!e ~~ foo; } }; R.new.m; 18:47
camelia True
lizmat m: my constant foo = 0; class R { has $.e = foo; method m() { say $!e ~~ foo; } }; R.new.m;
camelia True
patrickb Oh, this is pretty gutsy...
The commit that is. 18:49
lizmat yeah, I remember that well.... will be glad to get rid of it in RakuAST
on that thought: 18:50
m: Q|enum E <foo>; role R { has $.e = foo; method m() { say $!e ~~ foo; } }; R.new.m|.AST.EVAL
camelia No such method 'ACCEPTS' for invocant of type 'VMNull'. Found
'ACCEPTS' on type 'Mu'
in method m at EVAL_0 line 1
in block <unit> at <tmp> line 1
patrickb m: enum E <foo>; role R { has $.e = foo; method m() { $!e = foo; say $!e ~~ foo; } }; R.new.m; 20:11
camelia True
patrickb m: enum E <foo>; role R { has $.e = foo; method m() { dd $!e; say $!e ~~ foo; } }; R.new.m; 20:12
camelia $!e = E::foo
False
patrickb m: enum E <foo>; role R { has $.e = foo; has $.f = foo; method m() { say $!e ~~ $!f; } }; R.new.m; 20:13
camelia False
21:59 finanalyst left 22:28 sena_kun left