Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 11, 2018 22:15
Show Gist options
  • Save Whateverable/8d694d8ceede24b645f3ed83508b1fc6 to your computer and use it in GitHub Desktop.
Save Whateverable/8d694d8ceede24b645f3ed83508b1fc6 to your computer and use it in GitHub Desktop.
bisectable6
sub foo(--> Callable:D) is rw { my $x is default(Nil) = Nil; $x }; foo
Bisecting: 3997 revisions left to test after this (roughly 12 steps)
[b0e3d26cf9402f87642f73f4a7f04f4568a219c5] Unify format
»»»»» Testing b0e3d26cf9402f87642f73f4a7f04f4568a219c5
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 43b7cfde31a299fbea7d881bb693ee855376d54d
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 b5100d6a20d2bb9685c126518ea0fcea89f57834
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 b0a54f92ff329bb11f8701f5b7e169a8eba9c73a
»»»»» Cannot test this commit. Reason: Commit exists, but a perl6 executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing ec265706db866b8dc3a9efcf0d160adda235ac29
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 7e5a862e549e57a4c0ff3300878a9255d9b08078
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 4766536b412c1883369610179095353153e75e3e
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 4e56ce954ee1c2a424fd3ee164a7ce931337274a
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 fa73bb48d5a6ac72e17b6c7f5cb7b9ec47a260df
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 141ec68d90b496cb34891d4342d724c7c24c68a2
»»»»» Script output:
Type check failed for return value; expected Callable:D but got Nil (Nil)
in sub foo at /tmp/ZAtvUr48Nt line 1
in block <unit> at /tmp/ZAtvUr48Nt line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 327cae7c9395e4f14adc6cc6a32c5c4e2a515276
»»»»» Script output:
Type check failed for return value; expected Callable:D but got Nil (Nil)
in sub foo at /tmp/ZAtvUr48Nt line 1
in block <unit> at /tmp/ZAtvUr48Nt line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 3ae97e5f38e85a5db76053ed2c7757c59a22f73d
»»»»» Script output:
Type check failed for return value; expected Callable:D but got Nil (Nil)
in sub foo at /tmp/ZAtvUr48Nt line 1
in block <unit> at /tmp/ZAtvUr48Nt line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 09f5d0b68b13a78b925367b8426423014347f77d
»»»»» Script output:
Type check failed for return value; expected Callable:D but got Nil (Nil)
in sub foo at /tmp/ZAtvUr48Nt line 1
in block <unit> at /tmp/ZAtvUr48Nt line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 db96cab335f4708f7884f2e6c6b321060065b6f8
»»»»» Script output:
Type check failed for return value; expected Callable:D but got Nil (Nil)
in sub foo at /tmp/ZAtvUr48Nt line 1
in block <unit> at /tmp/ZAtvUr48Nt line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 fe5c8d497323b17b54defab6c0898bae0cf100c6
»»»»» Script output:
Type check failed for return value; expected Callable:D but got Nil (Nil)
in sub foo at /tmp/ZAtvUr48Nt line 1
in block <unit> at /tmp/ZAtvUr48Nt line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
fe5c8d497323b17b54defab6c0898bae0cf100c6 is the first new commit
commit fe5c8d497323b17b54defab6c0898bae0cf100c6
Author: Jonathan Worthington <jnthn@jnthn.net>
Date: Wed Aug 8 19:11:54 2018 +0200
Use a spesh plugin for return value type checks
Decreases the size of the bytecode we produce for return type checks,
since the code to do that can be quite complex (especially given the
Nil/Failure sneak-through semantics and that we might have a coercion
to do). Also lets us optimize some cases a little better.
:040000 040000 953e4166eadf3f0b18b28d5655e50bce03372676 a594efba11f7a38addea90b16845008e4856df3a M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment