Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 21, 2018 16:18
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/e03607cd3608bdbf711e6e09910c20c8 to your computer and use it in GitHub Desktop.
Save Whateverable/e03607cd3608bdbf711e6e09910c20c8 to your computer and use it in GitHub Desktop.
bisectable6
2018.03,HEAD subset ZInt of Cool where { say $_; True }; sub foo(ZInt(Cool) $Z) {}
Bisecting: 124 revisions left to test after this (roughly 7 steps)
[5ad102ea7621f874b84f58649932f34043c87922] Make sure Proc.pid is Nil if we didn't run yet
»»»»» Testing 5ad102ea7621f874b84f58649932f34043c87922
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 9ff655645b5f8e5250cbf362e83d8a98278df7fc
»»»»» Script output:
(Iterable)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5981f81b631e96ee6e1860bd47a949a69ffdc87f
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 54137e8b14bc9b63409c37d1f5a90adad64719d8
»»»»» Script output:
(Iterable)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e348b8f21a741015a52fc3a43f32058f12064392
»»»»» Script output:
(Iterable)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 74b755992d7d43e2feb5d82cd270842318507c4c
»»»»» Script output:
(Iterable)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 82b19b1f533fc43531906edf379796e6a4af9493
»»»»» Script output:
(Iterable)
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 7c510611343d4f346def02edea740e20bd032d16
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
82b19b1f533fc43531906edf379796e6a4af9493 is the first new commit
commit 82b19b1f533fc43531906edf379796e6a4af9493
Author: Jonathan Worthington <jnthn@jnthn.net>
Date: Wed Apr 4 13:58:38 2018 +0200
Use target coercion type in scalar wrap decision
When we compiler a signature with some `T $x`, if T is a type that is
not `Iterable` then we don't need to wrap it in a `Scalar`. This saves
quite some allocations. However, we used the nominal type always to
decide whether to wrap. That's both creating containers when we don't
need to (for example, `Bool()` doesn't need one but would get one),
but also potentially a bug if one coerces to an iterable type from a
non-iterable one (probably odd enough that we didn't hit this issue).
:040000 040000 9016f25e6b2a2bb3208c1275266b88ffab7c5159 3aef985372d6a35aad3bf38c39963e8245aefeda M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment