Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 17, 2023 09:03
Show Gist options
  • Save Whateverable/b81e5e9d52c6ecd922de8d1ade6716b0 to your computer and use it in GitHub Desktop.
Save Whateverable/b81e5e9d52c6ecd922de8d1ade6716b0 to your computer and use it in GitHub Desktop.
bisectable6
say(1 S+ 2 S+ 3)
Bisecting: 105 revisions left to test after this (roughly 7 steps)
[e1071b055203613b95220ed9d2fae88dbc8531e9] Bump to get MoarVM with fixes/improvements.
»»»»» Testing e1071b055203613b95220ed9d2fae88dbc8531e9
»»»»» Script output:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ec7d8d4cc2358a4108bdab2c11ba1b57924bfc39
»»»»» Script output:
No such method 'CALL-ME' for invocant of type 'Int'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5e59d2d0c79e25fa008a87494de57ef915ed45fd
»»»»» Script output:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a3422a036801d37ca97bed78fedb5ec4e42b056c
»»»»» Script output:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b243a9663273bf3f82c51109ab0eff9556d2177e
»»»»» Script output:
No such method 'CALL-ME' for invocant of type 'Int'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 42fb81d3b7c5d989668f534fd1bd001294ecddc1
»»»»» Script output:
No such method 'CALL-ME' for invocant of type 'Int'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e57a006e123f9c8ae3e390e4b02d0dd90ccb1ecf
»»»»» Script output:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot find method 'CALL-ME'
in block <unit> at /tmp/Qi6iffCnzR line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
42fb81d3b7c5d989668f534fd1bd001294ecddc1 is the first new commit
commit 42fb81d3b7c5d989668f534fd1bd001294ecddc1
Author: Tobias Leich <email@froggs.de>
Date: Mon Mar 14 07:08:20 2016 +0100
throw X::Method::NotFound for *(42) (RT #127408)
So instead of say that:
Cannot find method 'CALL-ME'
It now hints at the type:
No such method 'CALL-ME' for invocant of type 'Whatever'
src/Perl6/Metamodel/BOOTSTRAP.nqp | 35 +++++++++++++++++++++++------------
src/core/Exception.pm | 4 ++++
2 files changed, 27 insertions(+), 12 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment