Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 8, 2019 12:04
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/c3c31108decf98285e87e80ac21f994e to your computer and use it in GitHub Desktop.
Save Whateverable/c3c31108decf98285e87e80ac21f994e to your computer and use it in GitHub Desktop.
bisectable6
enum Foo of Int where <a b c>;
Bisecting: 5074 revisions left to test after this (roughly 12 steps)
[a432ac333d9f99354499787f68f21c8bb886a759] This is the end, my friend.
»»»»» Testing a432ac333d9f99354499787f68f21c8bb886a759
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e23e2f6808d7967562a8d05441b4fbd3e8779ee0
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
An enum must supply an expression using <>, «», or ()
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 11613475249df5370d447e139deb675cab479c83
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
An enum must supply an expression using <>, «», or ()
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing aad8991e2a3148df73ba3fcf64b9b5a19eba533c
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 09e038cd886861a575a7b205197a90b398b53d9c
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1aa83a789ca9723cd257f31c718bcab7a84abee3
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a9ec5f92494ed70c3fbb0d58fd1bcbbcf135a3c3
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a974de9ba6a137c6e0aa14480d1a5c8c4a6786e2
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
An enum must supply an expression using <>, «», or ()
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f768623d905144a3bed63235ea80bb954e23be08
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
An enum must supply an expression using <>, «», or ()
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e7c0a644753705891bf340ae6dc6e4f0cc63ddee
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 2658fcdfa805b3c4104eefd29d950757a25be1a8
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
An enum must supply an expression using <>, «», or ()
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 0339b0f83a964d0964feb27f38f7c832f80182d1
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
An enum must supply an expression using <>, «», or ()
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 754664ed54aea24f9c9162002b6e68aadd311412
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
An enum must supply an expression using <>, «», or ()
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
»»»»» Script exit code: 1
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
===SORRY!=== Error while compiling /tmp/RavfoU0xHR
Two terms in a row
at /tmp/RavfoU0xHR:1
------> enum Foo of Int⏏ where <a b c>;
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
754664ed54aea24f9c9162002b6e68aadd311412 is the first new commit
commit 754664ed54aea24f9c9162002b6e68aadd311412
Author: TimToady <larry@wall.org>
Date: Tue Nov 28 21:47:18 2017 -0800
further enum cleanup
Enums no long backtrack on failure to find an initializer, causing
mysterious undefined enum function errors. Fixes #67942 even though
it was closed...
Only the setting uses the special-cased enum actions for bootstrapping
purposes. All subsequent enums just use the standard evaluator to
prevent recurring surprises that used to happen when a special case is
hit before the normal case. Fixes #122929 and 128017.
In support of using only the happy path outside of the setting, the type
of the first pair's value can now be determined from the actual value,
not just from the AST, since we don't take the special-cased setting
path for infix:<,> in normal code anymore.
An empty initializer using a variable now warns that it was probably
not declared properly as a constant. Fixes #130446.
:040000 040000 602024fda7c8eca943a589f55b752124a3e8f7ee 68a047366f2e4324a6ec61e1eeabf4e5c470c11d M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment