Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 6, 2018 03:57
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/8d10748e0b409f4a3f94deced6e9365c to your computer and use it in GitHub Desktop.
Save Whateverable/8d10748e0b409f4a3f94deced6e9365c to your computer and use it in GitHub Desktop.
bisectable6
class C {has $!a = 42}; C.^add_multi_method: "a", method () is rw {self.^attributes.head.get_value: self}; C.^compose; C.new.a = 13
Bisecting: 4456 revisions left to test after this (roughly 12 steps)
[fe48fa46aded875e0f78c8e48a9f38971f753bd1] Need a fresh decoder after a seek.
»»»»» Testing fe48fa46aded875e0f78c8e48a9f38971f753bd1
»»»»» Script output:
Cannot modify an immutable Int
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4fc17dfe1a66356b1cec92fa8ba7b9ca8228334c
»»»»» Script output:
Cannot modify an immutable Int
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bca0daa04f85e43011b72e8c7d8bb2b08c4559a5
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 76be77c9d6e697c26e92dc704109b7b8780845aa
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing cc75c825f90ba9f63182a64815abe6743edf25c3
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fa23855d2fe720d8341808627bc2e3e73de2994c
»»»»» Script output:
Cannot modify an immutable Int
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 539a7d17ffce6ff8024113b5c2d9b595d3a48f48
»»»»» Script output:
Cannot modify an immutable Int
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c4fd9f515d49deea06d1462057e820608041eb9b
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8be36b1228c8b1b455e00ea1e8e69c8d72598424
»»»»» Script output:
Cannot modify an immutable Int
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 899136068bb6ab44fba91eac87fc9f3532cd065b
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7e3506262f5595cf54b7ac89cbbbbbe3e506d4a1
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 08ead044809de86570aa5a9dcd5ebfbc0c566550
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 96df2d7148cef0c8243bd7a2a1b66b8c22e356eb
»»»»» Script output:
Cannot modify an immutable Int
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 77a7a4e475277fc38e136a6d96b305a64350702a
»»»»» Script output:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Method 'get_value' not found for invocant of class 'Seq'
in method <anon> at /tmp/lAxB6oH47Z line 1
in block <unit> at /tmp/lAxB6oH47Z line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
96df2d7148cef0c8243bd7a2a1b66b8c22e356eb is the first new commit
commit 96df2d7148cef0c8243bd7a2a1b66b8c22e356eb
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Mon Sep 19 22:28:43 2016 +0200
Make .head/.tail act like .roll/.pick
As in not returning a list, but just a single item. As suggested by
ugexe++
:040000 040000 fe1eac3b989fd1020f07982e978080588d83552a 5e7d316486aabf5c8667b6ce649f037481694856 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment