Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 9, 2017 08:29
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/b7b13ca376bb5896c5a29988f364f8d7 to your computer and use it in GitHub Desktop.
Save Whateverable/b7b13ca376bb5896c5a29988f364f8d7 to your computer and use it in GitHub Desktop.
bisectable6
say '11'.parse-base('10')
Bisecting: 1691 revisions left to test after this (roughly 11 steps)
[e89721d6d69ccaeea8b2ba73a8ac4081bf991dc7] native array's push-all only returns IterationEnd
»»»»» Testing e89721d6d69ccaeea8b2ba73a8ac4081bf991dc7
»»»»» Script output:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 689da7aa679bc1f69c91e9dc7d560b5ec2e60e92
»»»»» Script output:
Type check failed in binding to $radix; expected Int but got Str ("10")
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9ea23c9c4745997b95e97e09a1719cfc25bc1bef
»»»»» Script output:
No such method 'parse-base' for invocant of type 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c9b18c60e2c7c887ae1ed224d0928f2554442f45
»»»»» Script output:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4bcd7e07b6f2733ab4c3493c5cc0fb20c0ae4f79
»»»»» Script output:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5f910316f983dc0b3251b4ede4219a169e96fd70
»»»»» Script output:
No such method 'parse-base' for invocant of type 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c2455cadf00a896fc29d3e2c179f4c704f14d339
»»»»» Script output:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 447d592693278186a5fe90e3ed32c4c4806b6d9a
»»»»» Script output:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c1b987853c6c8f3ca0f8845bd1409af226d9a747
»»»»» Script output:
No such method 'parse-base' for invocant of type 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing faaa51601ae4893f63a336e051ab454373aae42d
»»»»» Script output:
No such method 'parse-base' for invocant of type 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6ef4cdf543e3c58084351679e0041c0457d9218a
»»»»» Script output:
No such method 'parse-base' for invocant of type 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 222d16b0b94911fdedb06ee6ad817d0f14b9c05c
»»»»» Script output:
No such method 'parse-base' for invocant of type 'Str'
in block <unit> at /tmp/BDpI897Fug line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'parse-base' not found for invocant of class 'Str'
in block <unit> at /tmp/BDpI897Fug 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