Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 10, 2016 11:48
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/eeebf40c2986157ff580c5c426b55a3e to your computer and use it in GitHub Desktop.
Save Whateverable/eeebf40c2986157ff580c5c426b55a3e to your computer and use it in GitHub Desktop.
bisectable6
class C { our method m {}; method n { $.m } }; say C.new.n
Bisecting: 1338 revisions left to test after this (roughly 10 steps)
[1fbb8b4053cba722567b1e376c4a3f655b55e42b] Fix a few CX creation cases and don't give a null to p6box_s
»»»»» Testing 1fbb8b4053cba722567b1e376c4a3f655b55e42b
»»»»» Script output:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fef3655c0fb43209107b3e8708159280812cbceb
»»»»» Script output:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d036a50109624223ba94b578711ae98b9ec997a2
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e4fdc32d6d9062e169165d02a6ac920fc22177da
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6c0732146a277ab022b576cbbfe84a943ab46815
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 447d592693278186a5fe90e3ed32c4c4806b6d9a
»»»»» Script output:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 415461b4d3419b77d1f290ac8416c39ad95d5838
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2cad3d214f6f151df537a535760e341838332c21
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fc3160c7e5fb80340f732f5941277970498a7525
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6ef4cdf543e3c58084351679e0041c0457d9218a
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 222d16b0b94911fdedb06ee6ad817d0f14b9c05c
»»»»» Script output:
No such method 'm' for invocant of type 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'm' not found for invocant of class 'C'
in method n at /tmp/sWkZ0oiXW7 line 1
in block <unit> at /tmp/sWkZ0oiXW7 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.
:040000 040000 63ad71143a7117adca7cda1f9c91b100ec142e9f 446617941271f4d4435a6e35046d17d7564e6f83 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment