Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 17, 2020 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/935b3a5d2d8621c5753eea3b872998af to your computer and use it in GitHub Desktop.
Save Whateverable/935b3a5d2d8621c5753eea3b872998af to your computer and use it in GitHub Desktop.
bisectable6
sub a(--> Bool()) { 1 }; dd a
Bisecting: 110 revisions left to test after this (roughly 7 steps)
[75ba8cc6c338f66462279214dc6e731cf6ba6b1c] Prevent too-soon exit when PERL6_TEST_DIE_ON_FAIL is used
»»»»» Testing 75ba8cc6c338f66462279214dc6e731cf6ba6b1c
»»»»» Script output:
Bool::True
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 b1c444f0622bc348a2e860a43faa6d72e9a11558
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int (1)
in block <unit> at /tmp/6A5z47od7M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 aceb4af21d6a009f37284c8a11ab1d3fd8780556
»»»»» Script output:
Bool::True
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 b48c62f3e0e8652fffadf1b9c97c952acb97df45
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int (1)
in block <unit> at /tmp/6A5z47od7M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 a54e5e7435731eb281180c3da83676201b29bfbe
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int (1)
in block <unit> at /tmp/6A5z47od7M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 42e9d7cfaf36cf20c1586a523ff74f54a0d77e4e
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int (1)
in block <unit> at /tmp/6A5z47od7M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 94e3b2984e8d9083d716fb43a9e3df55085fd342
»»»»» Script output:
Bool::True
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» 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 b508576fc51cfa128a84ed4f302528a3f78bab03
»»»»» Script output:
Bool::True
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
b508576fc51cfa128a84ed4f302528a3f78bab03 is the first new commit
commit b508576fc51cfa128a84ed4f302528a3f78bab03
Author: LemonBoy <thatlemon@gmail.com>
Date: Sat Sep 3 16:56:54 2016 +0200
Add support for coercing return types.
RT#128964
:040000 040000 07dcc8975f04067d5ae3ad0f894da31f7042c68a 39e5a3475a5b61627f1c8665bd71a848b8f2b048 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment