Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 11, 2022 15:40
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/92ea6e6e5e01b8c677493a8033f00ea0 to your computer and use it in GitHub Desktop.
Save Whateverable/92ea6e6e5e01b8c677493a8033f00ea0 to your computer and use it in GitHub Desktop.
bisectable6
multi sub foo(Int:D(Cool:D) $foo) { dd $foo }; foo("1")
Bisecting: 263 revisions left to test after this (roughly 8 steps)
[ce63be30e718c6f7aa0f2ca8c5a226de25d38dd4] Use nqp::getcurhllsym correctly
»»»»» Testing ce63be30e718c6f7aa0f2ca8c5a226de25d38dd4
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c7245c4c188ef8e96d8df3a1215195e3a6e69983
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2393e5386ea15a68db17dfd4af465554d95a1c87
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 65d4fd7144ac6455bcbe5adab65873d286788438
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Int:D(Cool:D):D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1ac944fc7d7a7088af770b6771373d444c1874e1
»»»»» Cannot test this commit. Reason: Commit exists, but an executable could not be built for it
»»»»» Therefore, skipping this revision
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4307996ae7ab683ee01a1bf4a0419d6ab32545ac
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5c457d9653eca37e7583f57024048c9caa1f06c3
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0243275defec300098202e25bea7412f041ccacb
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Int:D(Cool:D):D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4c3d96c4f702431c8c5e284c8bd8b60f8f9a1234
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 64b3dbd799fea32fce68c54150f46e457b2ba575
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/lZT_GWSWHZ
Calling foo(Str) will never work with any of these multi signatures:
(Cool:D:D $foo)
at /tmp/lZT_GWSWHZ:1
------> ub foo(Int:D(Cool:D) $foo) { dd $foo }; ⏏foo("1")
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
0243275defec300098202e25bea7412f041ccacb is the first new commit
commit 0243275defec300098202e25bea7412f041ccacb
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Tue Oct 23 17:51:44 2018 +0200
Add Parameter.coerce_type
So we can introspect the type we should coerce to. Also adapt
Parameter.perl to take the coerce_type into account.
Fixes R#2416
:040000 040000 f8fff6e07b7f65cfbb93ab34de0ab306372ddad8 7fe0c0ac672554d29d45199c3b309a0117284c80 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment