Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 27, 2023 13:39
Show Gist options
  • Save Whateverable/6dd879672023f2d26b1667f1452f0554 to your computer and use it in GitHub Desktop.
Save Whateverable/6dd879672023f2d26b1667f1452f0554 to your computer and use it in GitHub Desktop.
bisectable6
class X { method Str { "aa" } }; X.new ~~ m/a/
Bisecting: 44 revisions left to test after this (roughly 6 steps)
[f550c9f97b5634010eed22e1474e34dba54762d9] Wordwrap X::Parameter::Placeholder message
»»»»» Testing f550c9f97b5634010eed22e1474e34dba54762d9
»»»»» Script output:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9e9851a808c03b72968a0358651cbafc036cd21f
»»»»» Script output:
Invocant of method 'match' must be a type object of type 'Any', not an
object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 98c7e512a6e0988d3435e52ddce4104e2df6f1a3
»»»»» Script output:
Invocant of method 'match' must be a type object of type 'Any', not an
object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 92f8c19b4650067a30451ea631c505ef63a1e701
»»»»» Script output:
Invocant of method 'match' must be a type object of type 'Any', not an
object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 939634335bb0e1400a5a3209af69ea18db43e5fb
»»»»» Script output:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5f423a7e6f810615d9a1c695311a1d9d346fc713
»»»»» Script output:
Invocant of method 'match' must be a type object of type 'Any', not an
object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 58685eeb82f26def5ba1ecd1b40096f5b9538ab7
»»»»» Script output:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'X'. Did you forget a 'multi'?
in block <unit> at /tmp/nqkNP68F3M line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
5f423a7e6f810615d9a1c695311a1d9d346fc713 is the first new commit
commit 5f423a7e6f810615d9a1c695311a1d9d346fc713
Author: Elizabeth Mattijsen <liz@wenzperl.nl>
Date: Mon Jul 6 22:36:35 2020 +0200
Wordwrap X::Parameter::InvalidConcreteness message
Also make tests more resilient to having newlines in there.
src/core.c/Exception.pm6 | 2 +-
t/05-messages/01-errors.t | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment