Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 9, 2020 23:33
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/2ae9008256256f59e06bab99598622e3 to your computer and use it in GitHub Desktop.
Save Whateverable/2ae9008256256f59e06bab99598622e3 to your computer and use it in GitHub Desktop.
bisectable6
dd Date.new(Instant.from-posix(<3300154654195/2087>, Bool::False))
Bisecting: 5572 revisions left to test after this (roughly 13 steps)
[0b15f6728a4aff6945c1f170c10321c002697a08] Implement $*USAGE
»»»»» Testing 0b15f6728a4aff6945c1f170c10321c002697a08
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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 8debb1bc8603980fdce2d188416b91a1930fc1b6
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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 b31be7b92d7534556075c13eba609088c976af0a
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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 10527db0691dd892718a394758f5ff88ca71e39f
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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 9c8c3bf8568d1bc0e258041706b8d3ad4b9c1400
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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 8fb20889d004c24c21f8355a234acf2c4f7f7058
»»»»» 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 ceb3c7261cd6628b0f3f85d8f750a29023e290fc
»»»»» 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 dea9ddeb8660910a84af58dad454caabf8de84d1
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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 81dc4b79bcdb7f05829c7d8432f2ea490043573e
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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 f59c76939f84697507ed1575b676e1e2a53c8340
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 09181a4105d36314b27a5149b90684ad35cf2713
»»»»» Script output:
Date.new(2020,2,9)
»»»»» 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:
Date.new(2020,2,9)
»»»»» 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”
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