Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created Jun 2, 2020
Embed
What would you like to do?
bisectable6test
dd "2020-05-24T10:10:00.034Z".DateTime.Str
Bisecting: 102 revisions left to test after this (roughly 7 steps)
[c4c071859fec7f75282419a5e53d6b07b54ae075] Merge pull request #893 from MasterDuke17/RT129780
»»»»» Testing c4c071859fec7f75282419a5e53d6b07b54ae075
»»»»» Script output:
No such method 'DateTime' for invocant of type 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 99e98c3fa19ab5dce51d885af7dcaf7c5b799944
»»»»» Script output:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2cad3d214f6f151df537a535760e341838332c21
»»»»» Script output:
No such method 'DateTime' for invocant of type 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6974b8bf5ce84b35efe492c15bb49a9805f2c4f1
»»»»» Script output:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing faaa51601ae4893f63a336e051ab454373aae42d
»»»»» Script output:
No such method 'DateTime' for invocant of type 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 447d592693278186a5fe90e3ed32c4c4806b6d9a
»»»»» Script output:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6ef4cdf543e3c58084351679e0041c0457d9218a
»»»»» Script output:
No such method 'DateTime' for invocant of type 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 222d16b0b94911fdedb06ee6ad817d0f14b9c05c
»»»»» Script output:
No such method 'DateTime' for invocant of type 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'DateTime' not found for invocant of class 'Str'
in block <unit> at /tmp/an_MZm7_Vu line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
222d16b0b94911fdedb06ee6ad817d0f14b9c05c is the first new commit
commit 222d16b0b94911fdedb06ee6ad817d0f14b9c05c
Author: Stefan Seifert <nine@detonation.org>
Date: Tue Sep 27 13:15:02 2016 +0200
Actually throw a typed "method not found" exception from the VM
We used to throw an AdHoc exception and parse the message to upgrade it
to a typed exception. The need for that is not obvious and the spectest
passes just fine if we throw the proper exception type in the first
place.
src/Perl6/Metamodel/BOOTSTRAP.nqp | 4 ++++
src/core/Exception.pm | 11 ++---------
2 files changed, 6 insertions(+), 9 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment