Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 6, 2020 21: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/0986828e7cc5c93bd6135b26cc3fb14a to your computer and use it in GitHub Desktop.
Save Whateverable/0986828e7cc5c93bd6135b26cc3fb14a to your computer and use it in GitHub Desktop.
bisectable6
old=2017.03 my $seq = <foo bar baz>.words; say sort $seq; say $seq.head; say $seq
Bisecting: 4179 revisions left to test after this (roughly 12 steps)
[42595c27d1dc9784c47e14bc508b84433e24b49e] Slightly change semantics of (&) on QuantHashes
»»»»» Testing 42595c27d1dc9784c47e14bc508b84433e24b49e
»»»»» Script output:
(bar baz foo)
foo
(foo bar baz)
»»»»» 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 f8edb8295773acd41432e4f85424f5eb7245dbd7
»»»»» Script output:
(bar baz foo)
foo
(foo bar baz)
»»»»» 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 b0fc9eecabf31c6e7c2af65300738e0401e32441
»»»»» Script output:
(bar baz foo)
foo
(foo bar baz)
»»»»» 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 1e58925c09e7041d456d9c9dae16f09c0d6ab284
»»»»» Script output:
(bar baz foo)
foo
(foo bar baz)
»»»»» 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 c95c4a75d17b539acb8af0f604f0196ad525c4e8
»»»»» Script output:
(bar baz foo)
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in block <unit> at /tmp/ECTu_SOKKe 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 d057efdbc435898de2c51a2b8a64c4f0c15e6839
»»»»» Script output:
(bar baz foo)
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in block <unit> at /tmp/ECTu_SOKKe 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 6d12cecc955ed997a832cff14346eb082456af19
»»»»» Script output:
(bar baz foo)
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in block <unit> at /tmp/ECTu_SOKKe 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 0e0ac2fb8c51a82a0653a958c68604276fc25490
»»»»» Script output:
(bar baz foo)
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in block <unit> at /tmp/ECTu_SOKKe 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 701dab3cb80bfc4fc9bae2825c7355c007b48364
»»»»» Script output:
(bar baz foo)
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in block <unit> at /tmp/ECTu_SOKKe 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 2fb6872b14cd363cd53916477b85bdb4134a2cb7
»»»»» Script output:
(bar baz foo)
foo
(foo bar baz)
»»»»» 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 59f6f485058e69e1167aad90f4dc2896d7f222de
»»»»» Script output:
(bar baz foo)
foo
(foo bar baz)
»»»»» 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 91fb3076d2d640764f8b1dd395919b46ef389aee
»»»»» Script output:
(bar baz foo)
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
in block <unit> at /tmp/ECTu_SOKKe 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 400f4ec8835c5ce80b59098d73bd79988b03939f
»»»»» Script output:
(bar baz foo)
foo
(foo bar baz)
»»»»» 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”
400f4ec8835c5ce80b59098d73bd79988b03939f is the first new commit
commit 400f4ec8835c5ce80b59098d73bd79988b03939f
Author: Zoffix Znet <cpan@zoffix.com>
Date: Wed May 3 14:19:05 2017 +0000
Fix a whole ton of methods on cached Seqs
When Seq is cached, its $!list gets .DEFINITE and we can get
cached stuff from it. However, several methods do not check
for presence of $!list cache and assume the absence of $!iter means
the Seq has been consumed and there is no cache.
Fixes incorrect "Seq has been consumed; try caching" error for:
infix:<eqv>, .iterator, .Slip, .join, .List, .list, .eager,
.Array, .is-lazy, and .sink
Bug find: https://irclog.perlgeek.de/perl6-dev/2017-05-03#i_14524925
:040000 040000 d43dd3f09bb8e65961f461c09ae07cd436ca6ec2 be81069c45862b73d02bd6f12da4c0d0edd7a03f M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment