Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 8, 2019 12:05
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/80989f3cb85f6a10658e62466f8a330b to your computer and use it in GitHub Desktop.
Save Whateverable/80989f3cb85f6a10658e62466f8a330b to your computer and use it in GitHub Desktop.
bisectable6
enum Foo of Int <a b c>
Bisecting: 5074 revisions left to test after this (roughly 12 steps)
[a432ac333d9f99354499787f68f21c8bb886a759] This is the end, my friend.
»»»»» Testing a432ac333d9f99354499787f68f21c8bb886a759
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
No such method 'set_of' for invocant of type 'Perl6::Metamodel::EnumHOW'. Did you mean 'set_rw'?
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 689da7aa679bc1f69c91e9dc7d560b5ec2e60e92
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
No such method 'set_of' for invocant of type 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f43e3ee4707df437b434fd2f290e416f7cd99e66
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c9b18c60e2c7c887ae1ed224d0928f2554442f45
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8d357affe41b9bd43378f094ff742237a0edf333
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
No such method 'set_of' for invocant of type 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fe5423a0f626f156bd44ddec19f824954631b2f9
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
No such method 'set_of' for invocant of type 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f111f0735ead633d1fabd7b3fc419d807798f1dc
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 72467f9811493b720018682d437706325d650309
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 59e3e0e6e0674b8f059081085ee983595a01ecee
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6ef4cdf543e3c58084351679e0041c0457d9218a
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
No such method 'set_of' for invocant of type 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6974b8bf5ce84b35efe492c15bb49a9805f2c4f1
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 447d592693278186a5fe90e3ed32c4c4806b6d9a
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 222d16b0b94911fdedb06ee6ad817d0f14b9c05c
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
No such method 'set_of' for invocant of type 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX:1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/hWxwywZmdX
Method 'set_of' not found for invocant of class 'Perl6::Metamodel::EnumHOW'
at /tmp/hWxwywZmdX: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