Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 10, 2016 21:55
Show Gist options
  • Save Whateverable/488ec128113552a10c3d8cb02c3c263e to your computer and use it in GitHub Desktop.
Save Whateverable/488ec128113552a10c3d8cb02c3c263e to your computer and use it in GitHub Desktop.
bisectable6
say [*] set(1,2,3),
Bisecting: 1070 revisions left to test after this (roughly 10 steps)
[0a16ed597d6e91a6333f766050e8edbda6c122cd] always mark enum expression as wanted
»»»»» Testing 0a16ed597d6e91a6333f766050e8edbda6c122cd
»»»»» Script output:
set(3, 1, 2)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fa84f134400977bd01dd01355fed679a3ac636e8
»»»»» Script output:
set(3, 1, 2)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a87fc7d0bcff5166b4c4298f1312ba5fcea745cc
»»»»» Script output:
3
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c732485e740b74d4268f3f60a7636a768d686f63
»»»»» Script output:
set(3, 1, 2)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d43ea0703261683b78fee0da934753363180aa26
»»»»» Script output:
set(3, 1, 2)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4d5abda7fb4671c236286f1d30d21e96b4ceb82e
»»»»» Script output:
3
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a45202247662720b52cc846e8281e59b40cd2d0f
»»»»» Script output:
3
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b1c444f0622bc348a2e860a43faa6d72e9a11558
»»»»» Script output:
3
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5dba970cadb9e0be42ce112d40b1b0b61f02202d
»»»»» Script output:
set(3, 1, 2)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1d2351fdd829c780be4cf3aeec4f23fd2dcdac8e
»»»»» Script output:
set(3, 1, 2)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 68443febefaf2f69f68930f3cd5b0fa4f9a6e744
»»»»» Script output:
set(3, 1, 2)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
set(3, 1, 2)
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
b1c444f0622bc348a2e860a43faa6d72e9a11558 is the first new commit
commit b1c444f0622bc348a2e860a43faa6d72e9a11558
Author: TimToady <larry@wall.org>
Date: Tue Aug 30 19:53:33 2016 +0300
Calling unary on reduce needs arity, not count
For a reduction with a single argument, we want to look to see if the operator
in question has a unary interpretation, and call that. Unfortunately, there
are functions that can handle a unary but whose count is larger than 1,
so would not be called. Now we check .arity instead, which can still be 1
(or 0) for such functions. (We don't test for exactly 1 since most functions
with .arity of 0 have a .count greater than 0, so allow one arg.)
:040000 040000 beb80afc005890185673564d8b70c8a1f79482b8 983a848b874fdda44e91f754b31ab5edaa68638e M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment