Created
November 2, 2024 10:37
-
-
Save Whateverable/dc4b50d9eb193b2d4f35d278e78d2c5e to your computer and use it in GitHub Desktop.
bisectable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
old=2024.10 my $s = "foobar"; $s.substr-rw(6, 0) = "yyy"; say $s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bisecting: 6 revisions left to test after this (roughly 3 steps) | |
[0ff3efff8f994f5464234adf011b4db9e1c24605] Fix using Iterables as indices in multidim array slice | |
»»»»» Testing 0ff3efff8f994f5464234adf011b4db9e1c24605 | |
»»»»» Script output: | |
Start argument to substr out of range. Is: 6, should be in 0..6; use *-6 if you want to index relative to the end | |
in block <unit> at /tmp/RCoE64ItSr line 1 | |
»»»»» Script exit code: 1 | |
»»»»» Bisecting by exit code | |
»»»»» Current exit code is 1, exit code on “old” revision is 0 | |
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new” | |
»»»»» Therefore, marking this revision as “new” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing da291b5501f0cfe6528197baf1b0a54fe18bf394 | |
»»»»» Script output: | |
foobaryyy | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by exit code | |
»»»»» Current exit code is 0, exit code on “old” revision is 0 | |
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new” | |
»»»»» Therefore, marking this revision as “old” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing 6182ed580bcbb05862747d14dcd79c6ffc4fe13c | |
»»»»» Script output: | |
Start argument to substr out of range. Is: 6, should be in 0..6; use *-6 if you want to index relative to the end | |
in block <unit> at /tmp/RCoE64ItSr line 1 | |
»»»»» Script exit code: 1 | |
»»»»» Bisecting by exit code | |
»»»»» Current exit code is 1, exit code on “old” revision is 0 | |
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new” | |
»»»»» Therefore, marking this revision as “new” | |
»»»»» ------------------------------------------------------------------------- | |
»»»»» Testing c32cb4f6a3d8efeac06eb4ae4b0eb2527ecbdf02 | |
»»»»» Script output: | |
foobaryyy | |
»»»»» Script exit code: 0 | |
»»»»» Bisecting by exit code | |
»»»»» Current exit code is 0, exit code on “old” revision is 0 | |
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new” | |
»»»»» Therefore, marking this revision as “old” | |
6182ed580bcbb05862747d14dcd79c6ffc4fe13c is the first new commit | |
commit 6182ed580bcbb05862747d14dcd79c6ffc4fe13c | |
Author: Elizabeth Mattijsen <liz@raku.rocks> | |
Date: Sat Oct 26 12:20:04 2024 +0200 | |
Re-imagine .substr-rw handling | |
- more geared towards new-disp using multiple candidates and a | |
private method doing the actual work | |
- added support for Callable and Cool values for width | |
Fixes #1720 | |
src/core.c/Cool.rakumod | 12 ++--- | |
src/core.c/Str.rakumod | 114 ++++++++++++++++++++++++++---------------------- | |
2 files changed, 65 insertions(+), 61 deletions(-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment