Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 4, 2023 13:12
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/da9e43abbbc2e937d8525551d666ee14 to your computer and use it in GitHub Desktop.
Save Whateverable/da9e43abbbc2e937d8525551d666ee14 to your computer and use it in GitHub Desktop.
bisectable6
my class A {}; my class B {}; my class C is B is A {}; multi f(A) { "A" }; multi f(B) { "B" }; sub g(A $x) { say f($x) }; g(C.new) ## https://github.com/Raku/old-issue-tracker/issues/2874
Bisecting: 44 revisions left to test after this (roughly 6 steps)
[82d50526918006a89d6f4de2bcc19179f3b91243] Merge pull request #3900 from codesections-forks/deprecate-parse-names
»»»»» Testing 82d50526918006a89d6f4de2bcc19179f3b91243
»»»»» Script output:
Ambiguous call to 'f(C)'; these signatures all match:
(A $)
(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Ambiguous call to 'f(C)'; these signatures all match:
:(A $)
:(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0e45651ff6c6232b9e2693b40e107d0918fdc07e
»»»»» Script output:
Ambiguous call to 'f(C)'; these signatures all match:
(A $)
(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Ambiguous call to 'f(C)'; these signatures all match:
:(A $)
:(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2b327ca8c65c53c767e29ac110bffe88dc10af12
»»»»» Script output:
Ambiguous call to 'f(C)'; these signatures all match:
(A $)
(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Ambiguous call to 'f(C)'; these signatures all match:
:(A $)
:(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b005230615f2a1a87adcf85f58d32d5cefe354ea
»»»»» Script output:
Ambiguous call to 'f(C)'; these signatures all match:
(A $)
(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Ambiguous call to 'f(C)'; these signatures all match:
:(A $)
:(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b8121cecb90d648cd8a1fa327eee0319e1ac42b1
»»»»» Script output:
Ambiguous call to 'f(C)'; these signatures all match:
(A $)
(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Ambiguous call to 'f(C)'; these signatures all match:
:(A $)
:(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 999680e657d3fe70abba2e33fcc7b770d88e5b81
»»»»» Script output:
Ambiguous call to 'f(C)'; these signatures all match:
(A $)
(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Ambiguous call to 'f(C)'; these signatures all match:
:(A $)
:(B $)
in sub g at /tmp/0eD3UOV2h6 line 1
in block <unit> at /tmp/0eD3UOV2h6 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
999680e657d3fe70abba2e33fcc7b770d88e5b81 is the first new commit
commit 999680e657d3fe70abba2e33fcc7b770d88e5b81
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Thu Aug 20 18:50:38 2020 +0200
Streamline X::Multi::Ambiguous listing
- remove ":", it does not convey any information, clear it's a signature
- add two spaces to set it off the first line
- add "is default" status of the candidate when applicable
src/core.c/Exception.pm6 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment