Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 10, 2017 22:31
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/a8b9fde5fa8def88f8ce91959f85b177 to your computer and use it in GitHub Desktop.
Save Whateverable/a8b9fde5fa8def88f8ce91959f85b177 to your computer and use it in GitHub Desktop.
bisectable6
multi a($a is rw) { say "writable" }; multi a($a) { $a = 99 }; a my $; a 42
Bisecting: 1527 revisions left to test after this (roughly 11 steps)
[60870c13f6af4ed6dc4721ff07db14de3e78359f] Make Hash.AT-KEY about 35% faster
»»»»» Testing 60870c13f6af4ed6dc4721ff07db14de3e78359f
»»»»» Script output:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f3f00fbf08e000fc67583492ab9c4da5526356a6
»»»»» Script output:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8e3cbc67db7041f4bc0aa41da0d61534a03a0689
»»»»» Script output:
writable
Cannot assign to a readonly variable ($a) or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2d56751abe248c019116fa60040d0f8f6a2c6e01
»»»»» Script output:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 13d751e595cf75945d6e9eb5754a48e1a44344fa
»»»»» Script output:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 061753cc662bb74937901e337d2134c534371ebe
»»»»» Script output:
writable
Cannot assign to a readonly variable ($a) or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d2ce52c2a32a4693ae9d95c4169809ced458e6b1
»»»»» Script output:
writable
Cannot assign to a readonly variable ($a) or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 437538efcc2ff2f3146381f2651ba3af72a01358
»»»»» Script output:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3982b20efa50b6a166c7da816faa837bf1c48b4d
»»»»» Script output:
writable
Cannot assign to a readonly variable ($a) or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4dffef7a7ab035da03803d4a85dc3ba7cccb3647
»»»»» Script output:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5163e8a81d182d1695016e67ea7b15504007ce2a
»»»»» Script output:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
writable
Cannot assign to a readonly variable or a value
in sub a at /tmp/VZSwFMA4zg line 1
in block <unit> at /tmp/VZSwFMA4zg line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
3982b20efa50b6a166c7da816faa837bf1c48b4d is the first new commit
commit 3982b20efa50b6a166c7da816faa837bf1c48b4d
Author: Daniel Green <ddgreen@gmail.com>
Date: Tue Nov 29 00:31:23 2016 -0500
Better error message for assigning to ro variable
If possible, include the name of the variable that was assigned to.
:040000 040000 8ee40f19fe786bbcc5f484d8c17da49fca797cc9 0dad75196da262c9ae7bcc07eec05414aedf99c5 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment