Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 14, 2020 17:48
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/f7ee65db703c389b1e7f295cd1b71e90 to your computer and use it in GitHub Desktop.
Save Whateverable/f7ee65db703c389b1e7f295cd1b71e90 to your computer and use it in GitHub Desktop.
bisectable6
use NativeCall; subset StrOrUint where Str | uint32; my uint32 $ni = -231; my StrOrUint $x = $ni;
Bisecting: 5467 revisions left to test after this (roughly 13 steps)
[ce95e1628c4ad62471b038a50877aac2c3789066] Revert "Give enums an iterator"
»»»»» Testing ce95e1628c4ad62471b038a50877aac2c3789066
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b716b007ccaef83eacb15aaf38aa555918b0792e
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5b0a9e4caae1191b2b9ee70e3089a69e7b07223c
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 195693454c78709d6b0e743338e5328262be5024
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b11637cd506a294705ee68e686cde410592deb97
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d2e31e8150ed3c68e5532449398420d5138c4d11
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 85172b2154c40b80f6cb271e82b14011fb45fabd
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0054aa7a1b8ecead03010e5ce8aba5c691f300a8
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7010f322c28d53a53f92ca9d4110bf5ac8694227
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing edac531c6c11934760e81905cc5c5bf12625ea01
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e93a06c1d5792e550b09a949b2ebe2552ebae42a
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9983c2c8434ed81c532a5706996f284283b48d0a
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int (4294967065)
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e3b1dd391e7addf2ce81e9798748ee717d92444b
»»»»» Script output:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Type check failed in assignment to $x; expected StrOrUint but got Int
in block <unit> at /tmp/x9xNVpDbwI 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