20 May 2024 | |||||||||||||||||||||||||||||||||||||||
camelia | 0 | 23:23 | |||||||||||||||||||||||||||||||||||||
ab5tract | yeah, I'll stick with nqp::istype :) | 23:24 | |||||||||||||||||||||||||||||||||||||
even if the above did work, it pre-supposes that you already have a string because you would have to call unbox_s on it | 23:25 | ||||||||||||||||||||||||||||||||||||||
21 May 2024 | |||||||||||||||||||||||||||||||||||||||
nine: you mentioned earlier that we should be adding "fixed in RakuAST" tests. I definitely agree, but it's totally unclear how to actually do that | 00:23 | ||||||||||||||||||||||||||||||||||||||
afaict there's no solid way (outside of errata) to add version or (even more usefully) release specific tests | 00:24 | ||||||||||||||||||||||||||||||||||||||
FWIW, I would be adding way more test cases if the above were possible | 00:47 | ||||||||||||||||||||||||||||||||||||||
nine | ab5tract: sounds like it'd just require beefing up the fudger a bit | 07:01 | |||||||||||||||||||||||||||||||||||||
lizmat | wouldn't just marking them as "todo "fixed in RakuAST'" be sufficient ? | 07:32 | |||||||||||||||||||||||||||||||||||||
nine | Passing todos count as failures in the harness | 07:33 | |||||||||||||||||||||||||||||||||||||
lizmat | I thought only unexpectedly passing todos were reported ? | 07:34 | |||||||||||||||||||||||||||||||||||||
Geth | ¦ rakudo: lizmat self-assigned Inconsistent interface among .substr/.substr-eq/.substr-rw github.com/rakudo/rakudo/issues/1720 | 08:15 | |||||||||||||||||||||||||||||||||||||
[Tux] |
|
08:39 | |||||||||||||||||||||||||||||||||||||
tux.nl/Talks/CSV6/speed4-20.html / tux.nl/Talks/CSV6/speed4.html tux.nl/Talks/CSV6/speed.log | |||||||||||||||||||||||||||||||||||||||
Geth | rakudo/r1705: 88628f59eb | ab5tract++ | src/core.c/metaops.rakumod foo |
10:35 | |||||||||||||||||||||||||||||||||||||
ab5tract | oops, didn't save the amended commit message | 10:36 | |||||||||||||||||||||||||||||||||||||
Geth | rakudo/r1705: f0aa962a79 | ab5tract++ | src/core.c/metaops.rakumod Give META_REDUCE_RIGHT behavior for 1-arg case This aligns the behavior of `META_REDUCE_RIGHT` to that of `META_REDUCE_LEFT` when handling 1-arg cases: > sub infix:<@> ($a, $b) is assoc<left> { [$a, $b] } > say [@] 10 ... (7 more lines) |
||||||||||||||||||||||||||||||||||||||
lizmat | ab5tract: op.count can be Inf | ||||||||||||||||||||||||||||||||||||||
ab5tract | ah, so that would blow up the iseq_i check | 10:38 | |||||||||||||||||||||||||||||||||||||
Geth | rakudo/r1705: 9459057eb5 | ab5tract++ | src/core.c/metaops.rakumod Give META_REDUCE_RIGHT behavior for 1-arg case This aligns the behavior of `META_REDUCE_RIGHT` to that of `META_REDUCE_LEFT` when handling 1-arg cases: > sub infix:<@> ($a, $b) is assoc<left> { [$a, $b] } > say [@] 10 ... (7 more lines) |
||||||||||||||||||||||||||||||||||||||
ab5tract | note that I'm not 100% convinced that this is the right direction for a fix: github.com/rakudo/rakudo/issues/17...2122279730 | ||||||||||||||||||||||||||||||||||||||
also not quite sure how an infix with infinite arguments is supposed to be called, grammatically speaking, but then again an infix with 1 or 0 args doesn't make much sense to me either (I'm running slow today) | 10:43 | ||||||||||||||||||||||||||||||||||||||
am I missing something or is the Inf case not handled at all in the base code either? | 10:51 | ||||||||||||||||||||||||||||||||||||||
lizmat | could very well be... it's just that I recently worked with .count in ParaSeq and got bitten by Inf :-) | ||||||||||||||||||||||||||||||||||||||
ab5tract | ah, gotcha :) |