Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 31, 2017 16:19
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/3477b17991231dcdfed428afd0dad75e to your computer and use it in GitHub Desktop.
Save Whateverable/3477b17991231dcdfed428afd0dad75e to your computer and use it in GitHub Desktop.
bisectable6
old=2015.07 say ($ = 42) ~~ S/4/2/; say $/; say $_
Bisecting: 2991 revisions left to test after this (roughly 12 steps)
[311a98b90d66075bfbeb3fdd323a91d57eb4e057] Merge pull request #693 from salortiz/failure.handled
»»»»» Testing 311a98b90d66075bfbeb3fdd323a91d57eb4e057
»»»»» Script output:
Potential difficulties:
Smartmatch with S/// can never succeed because the string it returns will fail to match. You can use given instead of ~~.
at /tmp/WY_aX0wcVe:1
------> say ($ = 42) ~~ ⏏S/4/2/; say $/; say $_
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d192f1c29a6297b2607e512e65022fbe4ad5771c
»»»»» Script output:
Potential difficulties:
Smartmatch with S/// can never succeed because the subsequent string match will fail
at /tmp/WY_aX0wcVe:1
------> say ($ = 42) ~~ S/4/2/⏏; say $/; say $_
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 13f829c4a7a7fcf43fe2c2cd954c5d87b5fdf976
»»»»» Script output:
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1b73d7a31303ba38dae4968779f07b16d87375c8
»»»»» Script output:
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 28c3836a6678abc856ca2cbac1082a07c092df46
»»»»» Script output:
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 68563f48eba01f36bc4c51bad3f5cc1a62bba163
»»»»» Script output:
Potential difficulties:
Smartmatch with S/// can never succeed because the subsequent string match will fail
at /tmp/WY_aX0wcVe:1
------> say ($ = 42) ~~ S/4/2/⏏; say $/; say $_
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 70a94d9d2bb377e449e43bbbe01e097f43b83ead
»»»»» Script output:
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 17987c618d8705b8e69d53dd4146f38986c94445
»»»»» Script output:
Potential difficulties:
Smartmatch with S/// can never succeed because the subsequent string match will fail
at /tmp/WY_aX0wcVe:1
------> say ($ = 42) ~~ S/4/2/⏏; say $/; say $_
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 34729664919d3cae8a56a66167bb0513fd6b520b
»»»»» Script output:
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9db48e945ac7733714506bacbba8574351230093
»»»»» Script output:
Potential difficulties:
Smartmatch with S/// can never succeed because the subsequent string match will fail
at /tmp/WY_aX0wcVe:1
------> say ($ = 42) ~~ S/4/2/⏏; say $/; say $_
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f54ff83371a6510a74adda65d0ff44427990bada
»»»»» Script output:
Potential difficulties:
Smartmatch with S/// can never succeed because the subsequent string match will fail
at /tmp/WY_aX0wcVe:1
------> say ($ = 42) ~~ S/4/2/⏏; say $/; say $_
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ca25b0f98dcc7ebc95d125abfb41c7b0b03c668a
»»»»» Script output:
False
22
(Any)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
False
22
(Any)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
f54ff83371a6510a74adda65d0ff44427990bada is the first new commit
commit f54ff83371a6510a74adda65d0ff44427990bada
Author: TimToady <larry@wall.org>
Date: Tue Oct 13 15:48:32 2015 -0700
Warn on attempt to smartmatch with S///
:040000 040000 7bdb6ba3cb1a426c6cd939993b1557cb66422620 71125ba494872c7e6dbb7a16ad7282d6fc2427b8 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment