Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 30, 2021 20:35
Show Gist options
  • Save Whateverable/c4efffd674d37f332ea01b4ca00259d1 to your computer and use it in GitHub Desktop.
Save Whateverable/c4efffd674d37f332ea01b4ca00259d1 to your computer and use it in GitHub Desktop.
bisectable6
say :(DateTime :$t where * > DateTime.now).params[0].constraint_list[0].ACCEPTS: True
Bisecting: 47 revisions left to test after this (roughly 6 steps)
[2a761ca7af3e66f6a5cad90ea9f483cd19066ba7] Introducing Kernel.Endian
»»»»» Testing 2a761ca7af3e66f6a5cad90ea9f483cd19066ba7
»»»»» Script output:
Cannot resolve caller Real(DateTime:D: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 46d4c9fe96ebcb6800071592b6bb4a739a84ac65
»»»»» Script output:
Cannot resolve caller Real(DateTime:D: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 07d95bf9b4d3a1046887fc3530fd0eca3bff1df6
»»»»» Script output:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9fe7d64316766bb1e0e126972f43bcefb2cc9c9c
»»»»» Script output:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1d597fa510c848f44a92e8ddd8c2ad7d0379fb39
»»»»» Script output:
Cannot resolve caller Real(DateTime:D: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing abfb9a4050ddfea05964b4892a5408e8ed4c1505
»»»»» Script output:
Cannot resolve caller Real(DateTime:D: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 869b9e5813ea0ddd495ea637dd17f88e77b500f3
»»»»» Script output:
Cannot resolve caller Real(DateTime:D: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot resolve caller Real(DateTime: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at /tmp/y5HRpd0lHh line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
869b9e5813ea0ddd495ea637dd17f88e77b500f3 is the first new commit
commit 869b9e5813ea0ddd495ea637dd17f88e77b500f3
Author: Skarsnik <scolinet@gmail.com>
Date: Mon Nov 19 10:47:48 2018 +0100
Add the definition of arguments in Multi::NoMatch exception
Add a U or D if the parameter is defined or not. This make easier to notice a mismatch because of that, eg you pass an undef value when a defined value is expected.
fix #2494
EG :
`perl6 -e 'my buf8 $foo; $foo.append("foo".encode("latin1"));'`
Cannot resolve caller append(Buf[uint8]: Blob[uint8]); none of these signatures match:
(Buf:D $: int $got, *%_)
(Buf:D $: Int:D $got, *%_)
(Buf:D $: Mu:D $got, *%_)
(Buf:D $: Blob:D $buf, *%_)
(Buf:D $: int @values, *%_)
(Buf:D $: @values, *%_)
(Buf:D $: *@values, *%_)
Became
Cannot resolve caller append(Buf[uint8]:U: Blob[uint8]:D); none of these signatures match:
(Buf:D: int $got, *%_)
(Buf:D: Int:D $got, *%_)
(Buf:D: Mu:D $got, *%_)
(Buf:D: Blob:D $buf, *%_)
(Buf:D: int @values, *%_)
(Buf:D: @values, *%_)
(Buf:D: *@values, *%_)
:040000 040000 bdf654209a7677abda4513cb54f5ea73dafff966 6b909e6056f7fcf84980ffe974eedf4712ff6deb M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment