Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 14, 2025 23:09

Revisions

  1. Whateverable created this gist Feb 14, 2025.
    1 change: 1 addition & 0 deletions query
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    old=2025.01 class A { has $.a = 42; method b { $.a } }; use nqp; dd nqp::iscont(A.new.b)
    100 changes: 100 additions & 0 deletions result
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,100 @@
    Bisecting: 39 revisions left to test after this (roughly 5 steps)
    [4f8cfb126832da53e8e99e3d2e87d83e011f7a2f] Give Hash.clone the same semantics as Array.clone
    »»»»» Testing 4f8cfb126832da53e8e99e3d2e87d83e011f7a2f
    »»»»» Script output:
    0

    »»»»» Script exit code: 0
    »»»»» Bisecting by output
    »»»»» Output on “old” revision is:
    0

    »»»»» The output is identical
    »»»»» Therefore, marking this revision as “old”
    »»»»» -------------------------------------------------------------------------
    »»»»» Testing 66de0b44cded6937c73c21c6f9caf7e87ce291c8
    »»»»» Script output:
    1

    »»»»» Script exit code: 0
    »»»»» Bisecting by output
    »»»»» Output on “old” revision is:
    0

    »»»»» The output is different
    »»»»» Therefore, marking this revision as “new”
    »»»»» -------------------------------------------------------------------------
    »»»»» Testing 3cfb4f179134e4cf23fbf56d35e3820e4841ec0e
    »»»»» Script output:
    0

    »»»»» Script exit code: 0
    »»»»» Bisecting by output
    »»»»» Output on “old” revision is:
    0

    »»»»» The output is identical
    »»»»» Therefore, marking this revision as “old”
    »»»»» -------------------------------------------------------------------------
    »»»»» Testing c26e7af3a0ffa6eff5e6e1339cfa573695f929e8
    »»»»» Script output:
    1

    »»»»» Script exit code: 0
    »»»»» Bisecting by output
    »»»»» Output on “old” revision is:
    0

    »»»»» The output is different
    »»»»» Therefore, marking this revision as “new”
    »»»»» -------------------------------------------------------------------------
    »»»»» Testing 553bd7566cfdf6e6b2c7175c1cbe6d9822f0fb87
    »»»»» Script output:
    0

    »»»»» Script exit code: 0
    »»»»» Bisecting by output
    »»»»» Output on “old” revision is:
    0

    »»»»» The output is identical
    »»»»» Therefore, marking this revision as “old”
    »»»»» -------------------------------------------------------------------------
    »»»»» Testing 22367bb9737bd6ec88b6c202d742e3c4ce561d7f
    »»»»» Script output:
    1

    »»»»» Script exit code: 0
    »»»»» Bisecting by output
    »»»»» Output on “old” revision is:
    0

    »»»»» The output is different
    »»»»» Therefore, marking this revision as “new”
    »»»»» -------------------------------------------------------------------------
    »»»»» Testing e34b767fd7f0ae284cb15b8925192529c4ee2032
    »»»»» Script output:
    1

    »»»»» Script exit code: 0
    »»»»» Bisecting by output
    »»»»» Output on “old” revision is:
    0

    »»»»» The output is different
    »»»»» Therefore, marking this revision as “new”
    e34b767fd7f0ae284cb15b8925192529c4ee2032 is the first new commit
    commit e34b767fd7f0ae284cb15b8925192529c4ee2032
    Author: Elizabeth Mattijsen <liz@raku.rocks>
    Date: Mon Feb 10 21:57:53 2025 +0100

    Remove now unnecessary .item methods

    The same semantics now apply to **all** objects, not just to
    Iterables, Captures and QuantHashes

    src/core.c/Capture.rakumod | 1 -
    src/core.c/Iterable.rakumod | 4 ----
    src/core.c/Mu.rakumod | 2 +-
    src/core.c/QuantHash.rakumod | 1 -
    4 files changed, 1 insertion(+), 7 deletions(-)