Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 3, 2017 03:25
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/3dcbf3113004dc134cdd316f955688a4 to your computer and use it in GitHub Desktop.
Save Whateverable/3dcbf3113004dc134cdd316f955688a4 to your computer and use it in GitHub Desktop.
bisectable6
old=2015.12 my $a = <2147483648/1>; say $a
Bisecting: 3142 revisions left to test after this (roughly 12 steps)
[2fb326e817ba2684165212b482f87d88841cebc4] Give a better error message for illegal batch values
»»»»» Testing 2fb326e817ba2684165212b482f87d88841cebc4
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1e88cd6c39d16765bfd759bd9008c07e806c74b1
»»»»» Script output:
2147483648
»»»»» 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 3ae7477fb942af1309e9829b0cdc1c08945c4b20
»»»»» Script output:
2147483648
»»»»» 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 1aabef8c890bbd3576f47c5772bc6ffa022eadc9
»»»»» Script output:
2147483648
»»»»» 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 f5a712f1a8355fec222e4f4821141c672e816c6a
»»»»» Script output:
2147483648
»»»»» 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 a9c8fe40a6df86adfcc4ef38df608b8ab03903f5
»»»»» Script output:
===SORRY!===
Cannot find method 'compile_time_value'
»»»»» 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 0d12fc4e426b3ca1cf825820ddeed2e2c96c029f
»»»»» Script output:
2147483648
»»»»» 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 172a92bf33c699aed75059126d47327e5b1ebbea
»»»»» Script output:
===SORRY!===
Cannot find method 'compile_time_value'
»»»»» 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 5605d5f343189bb37064e416153d90492ff55068
»»»»» Script output:
===SORRY!===
Cannot find method 'compile_time_value'
»»»»» 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 93a34799e138c2683856b6c3910e22ab9a412f68
»»»»» Script output:
2147483648
»»»»» 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 62b5308e1b3da4338f43a4ed964d3ebd404a3976
»»»»» Script output:
===SORRY!===
Cannot find method 'compile_time_value'
»»»»» 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 09181a4105d36314b27a5149b90684ad35cf2713
»»»»» Script output:
2147483648
»»»»» 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 27752615026fe58fe2012825c5f4e55e7412c95a
»»»»» Script output:
2147483648
»»»»» 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 8588eeb84617d20ff4684ad4361444fc10538823
»»»»» Script output:
===SORRY!===
Cannot find method 'compile_time_value'
»»»»» 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”
»»»»» -------------------------------------------------------------------------
27752615026fe58fe2012825c5f4e55e7412c95a is the first new commit
commit 27752615026fe58fe2012825c5f4e55e7412c95a
Author: Dave Rolsky <autarch@urth.org>
Date: Sun Feb 7 11:46:22 2016 -0600
Just call $<nu>.ast.compile_time_value in Perl6::Actions.bare_rat_number
The value of $<nu>.ast can either be a QAST::Want or a QAST::WVal depending on
the value of the numerator. Any value of 2**31 or greater gives us a
QAST::WVal.
Previously the code called "@($<nu>.ast)[0].compile_time_value" - this works
fine for a QAST::Want, but a QAST::WVal does not have any children, and so
this would lead to an error of "Cannot find method 'compile_time_value'".
Internally QAST::Want.compile_time_value is implemented as
"self[0].compile_time_value()" so it seems like there's no good reason for us
to do same thing in Perl6::Actions. Yay polymorphism!
:040000 040000 cd140c0359485ff1d648c7eb30428045445645b3 d4d083ae37ad916fcf9c5d3fc5308ab4533a9bcc M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment