🦋 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.
00:08 guifa left 00:32 Xliff left 00:48 guifa joined 03:50 guifa left
ab5tract camelia: 04:54
Whoops
Geth rakudo/fix-negated-junctions: 4 commits pushed by ab5tract++ 07:21
rakudo/fix-negated-junctions: 4 commits pushed by ab5tract++
07:52 sena_kun joined
Geth rakudo/main: f1980a8cfc | (Stefan Seifert)++ | 2 files
RakuAST: prohibit placeholders with same name as variables already used in scope
08:29
nine 1336 (t/spec/S06-signature/positional-placeholders.t fixed)
08:50 finanalyst joined
nine lizmat: sure. I just haven't come across a spectest demanding it. 08:51
Geth rakudo/main: 25c5350f82 | (Stefan Seifert)++ | src/Raku/ast/type.rakumod
RakuAST: fix enum values missing from surrounding package stash
09:05
nine Fixes the enum problem in t/spec/S06-other/main.t
Geth rakudo/main: 550ad11d50 | (Stefan Seifert)++ | src/Raku/ast/signature.rakumod
RakuAST: fix copy pasta in check for rw params of MAIN subs

Also tightens the check to only cover subs, so we don't accidentally warn about an unrelated method MAIN
09:14
nine 1337! We shall never fix another spec test :D
09:28 sena_kun left
patrickb But reducing the number of total spec tests without increasing the number of succeeding ones is allowed. 09:29
nine Absolutely! Best case we end up with 100 % passing without changing that number ;) 09:33
09:42 JimmyZhuo joined 11:18 guifa joined
Geth rakudo/main: 46f933a756 | (Stefan Seifert)++ | 2 files
RakuAST: complain at compile time about assigning to a r/o native parameters
11:22
nine Quick! Someone delete some spectest file!
11:38 guifa left 11:53 [Tux] left
nine Oh how I love spectests prohibiting us from detecting an error at compile time... 11:56
11:57 [Tux] joined
JimmyZhuo RAKUDO_RAKUAST=1 ./rakudo-m --ll-exception --target=ast -e 'while "D" { last }' 12:00
This type cannot unbox to a native integer: P6opaque, Failure
nine: for '$!condition.maybe-compile-time-value == $while', is it ok change to '$!condition.maybe-compile-time-value.Bool == $while' ? 12:01
or maybe a better one 12:02
nine .Bool may cause bootstrap issues but it's worth a try 12:03
Maybe nqp::istrue($!condition.maybe-compile-time-value) == $while 12:04
JimmyZhuo thanks 12:17
patrickb JimmyZhuo: Did you manage to validate the Windows native runner PR? 12:21
[Tux] Rakudo v2025.03-174-g46f933a75 (v6.d) on MoarVM 2025.03-11-g778b5d309
csv-ip5xs0.264 - 0.267
csv-ip5xs-201.092 - 1.106
csv-parser1.107 - 1.177
csv-test-xs-200.138 - 0.138
test1.852 - 1.858
test-t0.410 - 0.411
test-t --race0.270 - 0.273
test-t-204.975 - 5.100
test-t-20 --race1.234 - 1.255
tux.nl/Talks/CSV6/speed4-20.html / tux.nl/Talks/CSV6/speed4.html tux.nl/Talks/CSV6/speed.log
JimmyZhuo patrickb: git clone github is very unstable and slow here 12:24
can't even do a fresh clone rakudo 12:25
[Coke] O_o; 12:29
Geth rakudo: zhuomingliang++ created pull request #5840:
RakuAST: Fix while "D" { last }
12:32
JimmyZhuo patrickb: your branch builds ok, but it's hard to test by me. 12:40
patrickb JimmyZhuo: Ok, cool. Thanks for all the testing and feedback so far! 12:42
[Coke] patrickb: need something tested on windows? I can try something if needed. 12:44
13:23 JimmyZhuo left 14:20 codesections joined
finanalyst [Coke] pls test new tweak new-raku.finanalyst.org/en/type/AST 14:32
14:35 codesections1 joined
[Coke] that works! 14:36
14:36 codesections left 14:39 codesections1 left
patrickb [Coke]: We've been talking about github.com/rakudo/rakudo/pull/5725 I've originally developed that PR on Windows, but I welcome all testing. 15:06
[Coke]: After all JimmyZ uncovered something like 4 separate issues in the build of that PR by trying it out on their Windows machine.... 15:08
17:37 sena_kun joined 18:14 sena_kun left 18:17 sena_kun joined 18:27 notna joined, notna left 18:48 sena_kun left 18:49 sena_kun joined 18:53 sena_kun left 18:54 sena_kun joined 19:34 finanalyst left 19:52 finanalyst joined 20:03 sena_kun left
Geth rakudo/main: 28b4b3377c | (Stefan Seifert)++ | src/Raku/ast/variable-declaration.rakumod
RakuAST: fix overzealous compile time attr default value check

If the attribute type has a definedness constraint, a mere type won't be able to match it. So check a possible compile time value against the full type and compare mere types with the attribute base type.
20:49
rakudo/main: 7f1cf26242 | (Stefan Seifert)++ | 2 files
RakuAST: return-type for Type::Simple
rakudo/main: 3a8a337c89 | (Stefan Seifert)++ | src/Raku/ast/variable-declaration.rakumod
RakuAST: use private name when reporting attribute default type errors
roast: 64359c41a7 | (Stefan Seifert)++ | S12-attributes/smiley.t
Change a bunch of attribute default tests to expect compile time errors

These tests as written originally expect us to throw a runtime error for certain situations where a default value does not pass an attribute's type constraint. This in turn means that catching such errors at compile time is actually prohibited (as that would make the whole test file fail to compile). It's clearly better to detect problems at compile time, so this changes those tests and marks them as todo. This way the RakuAST frontend can exceed the old compiler's capabilities without disrupting the build checks.
20:57 MasterDuke joined 21:26 MasterDuke left 21:40 guifa joined 21:53 codesections joined 21:58 finanalyst left 22:24 codesections1 joined 22:26 codesections left, codesections1 is now known as codesections, Voldenet left 22:35 Voldenet joined 22:50 codesections left