Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 29, 2017 21:54
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/62f171b0942fe68b46f90e5a915d8f29 to your computer and use it in GitHub Desktop.
Save Whateverable/62f171b0942fe68b46f90e5a915d8f29 to your computer and use it in GitHub Desktop.
bisectable6
say (1..5).map({$_}).skip(*-3)
Bisecting: 3214 revisions left to test after this (roughly 12 steps)
[e195e5f990313e61fec95d6ed1daa6de16cbf259] Make sure my int @a[2].values gives LHS values
»»»»» Testing e195e5f990313e61fec95d6ed1daa6de16cbf259
»»»»» Script output:
No such method 'Int' for invocant of type 'WhateverCode'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 46838d5cbf192d644bfde5bbe215802fec771dc2
»»»»» Script output:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b7e632ee945dc9eb9e1092509e2dbda2acd55036
»»»»» Script output:
No such method 'skip' for invocant of type 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4bcd7e07b6f2733ab4c3493c5cc0fb20c0ae4f79
»»»»» Script output:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a7e801f396250da76529734764acb62087187834
»»»»» Script output:
No such method 'skip' for invocant of type 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 832764bb442ba4cd3d3fa31572f971d05f747456
»»»»» Script output:
No such method 'skip' for invocant of type 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2cad3d214f6f151df537a535760e341838332c21
»»»»» Script output:
No such method 'skip' for invocant of type 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bb52f81e710bc8918afc79786d3da68cd30d1d96
»»»»» Script output:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6974b8bf5ce84b35efe492c15bb49a9805f2c4f1
»»»»» Script output:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing faaa51601ae4893f63a336e051ab454373aae42d
»»»»» Script output:
No such method 'skip' for invocant of type 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 447d592693278186a5fe90e3ed32c4c4806b6d9a
»»»»» Script output:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6ef4cdf543e3c58084351679e0041c0457d9218a
»»»»» Script output:
No such method 'skip' for invocant of type 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 222d16b0b94911fdedb06ee6ad817d0f14b9c05c
»»»»» Script output:
No such method 'skip' for invocant of type 'Seq'
in block <unit> at /tmp/1SdoqZChRq line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'skip' not found for invocant of class 'Seq'
in block <unit> at /tmp/1SdoqZChRq 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