Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 29, 2016 18:17
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/2dcfd5f9cbea76b7064735d8ffd40752 to your computer and use it in GitHub Desktop.
Save Whateverable/2dcfd5f9cbea76b7064735d8ffd40752 to your computer and use it in GitHub Desktop.
bisectable6
'hello' [&say] 'world'
Bisecting: 1456 revisions left to test after this (roughly 11 steps)
[2c69ab78bed2d3f622d027e5e5a132ab212f3a77] Update leap seconds instructions in the Release Guide
»»»»» Testing 2c69ab78bed2d3f622d027e5e5a132ab212f3a77
»»»»» Script output:
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1acf5bf88d8aea23150919a9d134c728460cd4f6
»»»»» Script output:
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f928a2077dcbf8e788a4c44dac94b57c2b81e387
»»»»» Script output:
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1d46004dd3575a02f3656b4567ff5189caf180b9
»»»»» Script output:
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ece2c69fb61fb6573921a4df9dfc5490894e3655
»»»»» Script output:
WARNINGS for /tmp/9KzWsi8VOs:
Useless use of &say in sink context (line 1)
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ad75e790564bd4676ef0ec0ef1445cd278a08ee8
»»»»» Script output:
WARNINGS for /tmp/9KzWsi8VOs:
Useless use of &say in sink context (line 1)
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0e79613b672b4e4fffde30a075b294798705ed0a
»»»»» Script output:
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0e688e424a29c1ac4349242d697464f3ecba1306
»»»»» Script output:
WARNINGS for /tmp/9KzWsi8VOs:
Useless use of &say in sink context (line 1)
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1661511bba5861bfee3258dd1d3a69696f9395a7
»»»»» Script output:
WARNINGS for /tmp/9KzWsi8VOs:
Useless use of &say in sink context (line 1)
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing acece7b2f7a8614c40d832a76ff67be2a71d851a
»»»»» Script output:
WARNINGS for /tmp/9KzWsi8VOs:
Useless use of &say in sink context (line 1)
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9a3c35013e25f695703f002390a54a117a095f4e
»»»»» Script output:
helloworld
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
helloworld
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
acece7b2f7a8614c40d832a76ff67be2a71d851a is the first new commit
commit acece7b2f7a8614c40d832a76ff67be2a71d851a
Author: TimToady <larry@wall.org>
Date: Thu Dec 15 13:42:27 2016 -0800
Generalize useless use to other list infixes
Add warnings to other forms of sequence operator too.
Except for variations of assignment, the Xop, Zop, and [op] metaops
should also encourage side-effect-free behavior by carping when in
sink context. (You can always use 'eager' to override.)
:040000 040000 e9734082974571302d4b216cc8f097f354553121 e00b7d4186dff6eac1b5da0629387124bdc4c479 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment