Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 12, 2017 09:57
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/138529cc0e85ca3db9dbd2b3efb6f14d to your computer and use it in GitHub Desktop.
Save Whateverable/138529cc0e85ca3db9dbd2b3efb6f14d to your computer and use it in GitHub Desktop.
bisectable6
multi sub infix:« +>@ »(Real $num, Iterable $rotate) is tighter(&infix:«+>») is export(:MANDATORY) returns Int { say "foobar"; }; 123 +>@ (123, 456);
Bisecting: 1531 revisions left to test after this (roughly 11 steps)
[8dff9dff5e731b582b5a378cc32e95b971abd4d1] Bump NQP_REVISION for repeat/concat/substr fix.
»»»»» Testing 8dff9dff5e731b582b5a378cc32e95b971abd4d1
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 c9730a27f97455c4653a3adecc7df59897de2beb
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 20cfab31ca532f3a98046f9cd7951ddf8563b59f
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 4ff317e173859d142534faa01d5e0726c4f31f5a
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 7c8b705b3375522fc36304b771f82f50246afcf0
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 41d9f5c3eba6591025dbff5bb80ab83f465357ca
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 62f7027cbd39e91cdba9a10e99b48010e73baf53
»»»»» Script output:
foobar
»»»»» 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 3d1d6997e71251067409f4489b5a6ef89fb35cdc
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 90524270aa2665f2dccbcc23b508aca0f11182b8
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 fbbe446c64fbf98f3fc7e64016e5213a3ee1f09f
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/A23e6VxGGS
Routine given to tighter does not appear to be an operator
at /tmp/A23e6VxGGS: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 870b11b759379f9bc29d96d581f91b852dca0bf3
»»»»» Script output:
foobar
»»»»» 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 caba0d346a1f3fd92084db93f226ee83f94f145e
»»»»» Script output:
foobar
»»»»» 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”
»»»»» -------------------------------------------------------------------------
caba0d346a1f3fd92084db93f226ee83f94f145e is the first new commit
commit caba0d346a1f3fd92084db93f226ee83f94f145e
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Mon Jan 9 12:46:38 2017 +0100
Streamline .prec on operators a bit
- make sure that all Routines have a .prec
so we don't need to check if they can .prec
- add fast direct lookup interface:
say &infix:<+>.prec("assoc") # left
:040000 040000 7e44b89f0b12443b06aca2a6b9bdaaedf576e9ad 625abf7e0f3da411b8b9ac3c710d36aee4b04b62 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment