Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 17, 2020 12: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/799968df0826a1da3bd454d56ac3fdc7 to your computer and use it in GitHub Desktop.
Save Whateverable/799968df0826a1da3bd454d56ac3fdc7 to your computer and use it in GitHub Desktop.
bisectable6
sub a(--> Bool()) { 1 }; dd a
Bisecting: a merge base must be tested
[446a3ca324052080ac9edaa9010bc6bbe7b6fe05] Merge pull request #652 from autarch/patch-1
»»»»» Testing 446a3ca324052080ac9edaa9010bc6bbe7b6fe05
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9463bd9c82418e6a2f2148a2b28ec5cfe3a28d59
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e7ccc994890dba44bcff71a7410300d2ad03bafa
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b28da052f1311432592bf5c2d8fdaf4a46cc31ab
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9983c2c8434ed81c532a5706996f284283b48d0a
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int (1)
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8ab2b85187c2bab9f4cd99dc82ab445787558f10
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6159b5e22c1508899bf0e680993ec388a1e8f7e5
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ec9678538a4d5da9c9ff59c2ad7d64c1c79fbab3
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e3b1dd391e7addf2ce81e9798748ee717d92444b
»»»»» Script output:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed for return value; expected Bool(Any) but got Int
in block <unit> at /tmp/8fEgmv1RvS line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
9983c2c8434ed81c532a5706996f284283b48d0a is the first new commit
commit 9983c2c8434ed81c532a5706996f284283b48d0a
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Thu Feb 18 10:32:56 2016 +0100
Make X::TypeCheck a little more informative
by showing the actual value passed if possible, truncated if too long
:040000 040000 ce42ca2db3a601818be6f4d448815b7cad2072da 3bbf10195b05bdfedaa2af4ba6bb12cec5b467c3 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment