Geth rakudo/main: 22cf0082a9 | (Nick Logan)++ (committed using GitHub Web editor) | 4 files
RakuAST: branch on a native-int condition directly (#6470)

Previously a condition that computed a native int still boxed a Bool for the branch to test. With compile-time dispatch inlining putting the native comparison in condition position, every iteration of a native-typed loop paid a boolification, a return-type check on the inlined operator, and the unboxing of the result. A bare native-int ... (16 more lines)
00:03
00:13 Geth left 00:25 committable6 left, japhb left, committable6 joined 00:26 japhb joined 03:41 nine left, nine joined
releasable6 Next release in ≈3 days and ≈7 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft 11:00
[Coke] Reminder, anything for the legacy front end, please be really careful at this point in the release cycle. 12:50
If anyone is interested in learning how to do a release, let me know. (though at this point it's mostly following the guides) 12:51
m: sub a(Int --> True} { return True}; 15:05
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> sub a(Int --> True<HERE>} { return True};
[Coke] m: sub a(Int $a --> True} { return True};
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> sub a(Int $a --> True<HERE>} { return True};
[Coke] slightly older version is giving a more explicit can't have a return value if you have it in the signature (and they complaining because that diagnostic used .perl) 15:06
*then
16:21 Voldenet_ joined 16:22 Voldenet left, Voldenet_ is now known as Voldenet
ab5tract ISTR the diagnostic being updated, but I’d have to check GitHub to be sure 16:45
Right now I have to finish prepping for my Star Wars RPG session … in fifteen minutes 😅 16:46
I expect the intention was just to ditch the .perl and save the user from some noise, so it may be worth double checking if the patch is also throwing a different(ly formed) exception 16:48
[Coke] bisectable6: class A { method b(Int $a --> True} { return True} } 16:52
bisectable6 [Coke], Will bisect the whole range automagically because no endpoints were provided, hang tight
[Coke] (was actually on a method, soo.
bisectable6 [Coke], Output on all releases: gist.github.com/e664ad799003c47947...75ae26729c 16:53
[Coke], Bisecting by output (old=2024.10 new=2024.12) because on both starting points the exit code is 1
[Coke], bisect log: gist.github.com/7d909755499640d233...bec3b204b4
[Coke], (2024-11-22) github.com/rakudo/rakudo/commit/a9...b4dced35bc
[Coke], Bisecting by output (old=2017.09 new=2017.10) because on both starting points the exit code is 1
[Coke], bisect log: gist.github.com/4aba3e9bf366a751ce...9db445415b 16:54
[Coke], (2017-10-07) github.com/rakudo/rakudo/commit/1e...5ec98f4959
[Coke], Output on all releases and bisected commits: gist.github.com/ff786451f5d12118e1...9f79693df0
[Coke] must have been some other code outside that golf. ah well
m: class A { method b(Int $a --> True} { } } 16:55
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> class A { method b(Int $a --> True<HERE>} { } }
[Coke] m: class A { multi method b(Int $a --> True} { } }
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> class A { multi method b(Int $a --> True<HERE>} { } }
[Coke] I'll see if I can duplicate it offline, but it's probably just user errors 16:56
ugexe is the error we're seeing not legit enough given the signature isn't written correctly? 17:45
m: class A { method b(Int $a --> True) { return True} }
camelia ===SORRY!=== Error while compiling <tmp>
No return arguments allowed when return value Bool::True is already specified in the signature
at <tmp>:1
------> method b(Int $a --> True) { return True<HERE>} }
ugexe m: class A { method b(Int $a --> True} { return True} } 17:46
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> class A { method b(Int $a --> True<HERE>} { return True} }
19:02 notna joined 19:38 notna left 20:29 hurufu joined
[Coke] releasable6: next 20:51
releasable6 [Coke], Next release in ≈2 days and ≈22 hours. There are no known blockers. 240 out of 240 commits logged
23:45 hurufu left