Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 5, 2020 16:53
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/0611d39a3180b825b6d9a18d84a98914 to your computer and use it in GitHub Desktop.
Save Whateverable/0611d39a3180b825b6d9a18d84a98914 to your computer and use it in GitHub Desktop.
bisectable6
use nqp; await start nqp::getcomp('Raku').parse('say 42;');
Bisecting: 5831 revisions left to test after this (roughly 13 steps)
[f8edb8295773acd41432e4f85424f5eb7245dbd7] Document test helpers
»»»»» Testing f8edb8295773acd41432e4f85424f5eb7245dbd7
»»»»» Script output:
An operation first awaited:
in block <unit> at /tmp/4rkPl1sXN5 line 1
Died with the exception:
Cannot call method 'parse' on a null object
in code at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8104ff314b470dbb4a0465d595d5e3ba4745c7f2
»»»»» Script output:
Tried to get the result of a broken Promise
in block <unit> at /tmp/4rkPl1sXN5 line 1
Original exception:
Cannot call method 'parse' on a null object
in code at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 04fbb417c2a90a74036992697d76a95225a5bf39
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing cff3437de58ef36a9a2a84915ee9181643af4348
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 014d4cff2f160b62b71e883fafbbfbf9d7ca549d
»»»»» Script output:
===SORRY!===
Cannot call method 'parse' on a null object
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 78ef944e922f73c1b8fa6df894f6b84971397652
»»»»» Script output:
===SORRY!===
Cannot call method 'parse' on a null object
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 326aeb0d2523a0f5bbe9c082d2f0cdc239b7805a
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fc47bbf6b8082357004785f190e9cd85df14aa5a
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 48c2af6d059c6446d35f68f70d415c8fe593eaca
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ddfcaa7a3b6829058ac9901bc10c398f282a1436
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f99d958cd927c13c576e12d8147e313b879b13f6
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8c3e57d77e90fab1d504830bf69580f52e71a272
»»»»» Script output:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing cdb369903f3aca4aa56e6f9fd187ae58e6c28769
»»»»» Script output:
===SORRY!===
Cannot call method 'parse' on a null object
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing abf6caf06eb7e48674d4e22a4ad6b580e5efecbf
»»»»» Script output:
===SORRY!===
Cannot call method 'parse' on a null object
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
Cannot call method 'parse' on a null object
in block <unit> at /tmp/4rkPl1sXN5 line 1
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
abf6caf06eb7e48674d4e22a4ad6b580e5efecbf is the first new commit
commit abf6caf06eb7e48674d4e22a4ad6b580e5efecbf
Author: Jonathan Worthington <jnthn@jnthn.net>
Date: Wed Nov 2 16:55:37 2016 +0100
Improve error reporting around broken promises.
Previously, we had the message of the original exception, together
with the backtrace of the await or .result call. Now, we:
* Clearly indicate that the exception was raised by obtaining the
result of a broken Promise
* Provide the location that this happened
* Provide the original exception's message
* Provide the backtrace of the original exception
:040000 040000 65844dd8a7d3ee05d39889e1081dd8361acc8631 fcdc0fe75b22d3f352e8a9ce8b960be8c3ef2f5c M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment