Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created May 23, 2024 17:49
Show Gist options
  • Save Whateverable/0b7869102cc761905b5683576b5133e1 to your computer and use it in GitHub Desktop.
Save Whateverable/0b7869102cc761905b5683576b5133e1 to your computer and use it in GitHub Desktop.
bisectable6
my $line = "a b ACCEPTS c d"; Allomorph.^lookup($line ~~ /'ACCEPTS'/)
Bisecting: 64 revisions left to test after this (roughly 6 steps)
[9d7a4c26448d998b53f9caa54a1c1e3a75d25222] Actually use nqp::const::TYPE_CHECK_xxx constants
»»»»» Testing 9d7a4c26448d998b53f9caa54a1c1e3a75d25222
»»»»» Script output:
»»»»» 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 6945637fff4741c2be278d1a2fb89d5edccde0c1
»»»»» Script output:
This type cannot unbox to a native string: P6opaque, Match
in block <unit> at /tmp/YmnBuWXF8p 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 a55e7fd0330799b740f064416a1f3c446f4fa37c
»»»»» Script output:
This type cannot unbox to a native string: P6opaque, Match
in block <unit> at /tmp/YmnBuWXF8p 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 d6f73ed3f95588fa5c9bec5dabb3274856cfebe9
»»»»» Script output:
»»»»» 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 cf474c929a7ebb1ed0b4a0770df7c209f9b6f9b6
»»»»» Script output:
This type cannot unbox to a native string: P6opaque, Match
in block <unit> at /tmp/YmnBuWXF8p 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 b9727ca9b8cd87f916da23ea6f26c041d2f0306c
»»»»» Script output:
»»»»» 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 c183d2828e7d923b877e09693eb4351db8cf36a9
»»»»» Script output:
»»»»» 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”
cf474c929a7ebb1ed0b4a0770df7c209f9b6f9b6 is the first new commit
commit cf474c929a7ebb1ed0b4a0770df7c209f9b6f9b6
Author: Elizabeth Mattijsen <liz@raku.rocks>
Date: Mon Mar 18 10:35:52 2024 +0100
Streamline Metamodel::MethodContainer role
- change for loops into while loops where possible
- abstract error handling into separate method
- reduce null checks, they appear to not be necessary
- simplify "handles" check
- simplify caching logic
- abstract method introspection logic into a sub
src/Perl6/Metamodel/MethodContainer.nqp | 235 ++++++++++++++++++++------------
1 file changed, 145 insertions(+), 90 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment