Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 16, 2018 12:08
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/da2b802b17459298f2362e5e5cf2bcbf to your computer and use it in GitHub Desktop.
Save Whateverable/da2b802b17459298f2362e5e5cf2bcbf to your computer and use it in GitHub Desktop.
bisectable6
old=2017.12 https://gist.githubusercontent.com/AlexDaniel/fc1815c5b628e9921c6d58dae89e4862/raw/5094a59144baf67ac755f8bc108e89fb04d5086b/06-cmd.t
Bisecting: 121 revisions left to test after this (roughly 7 steps)
[d72037845740c6e3bef2c6d0982ad2bc93c5866e] Use better filename for test
»»»»» Testing d72037845740c6e3bef2c6d0982ad2bc93c5866e
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
Cannot resolve caller getopt(a, OptionSet.new(main =..., OptionSet.new(main =..., OptionSet.new(main =...); none of these signatures match:
(*@optsets where { ... }, *%args)
(Str $optstring, *%args)
(@args, Str $optstring, *%args)
(@args, *@optsets where { ... }, :&helper = { ... }, :$stdout = { ... }, :$stderr = { ... }, :&parser = { ... }, :$strict = Bool::True, :$autohv = Bool::False, :$version, :$bsd-style, :$x-style --> Getopt::Advance::ReturnValue)
in block <unit> at /tmp/Ur6BaEadqr line 59
# Looks like you planned 6 tests, but ran 3
»»»»» Script exit code: 255
»»»»» Bisecting by exit code
»»»»» Current exit code is 255, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 38897d19cd7dc5c2f84c91f88f71f98912dd9083
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
ok 4 - match cmd ok
ok 5 - match cmd ok
ok 6 - match cmd ok
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing b3e73b64a28ff72a4a8e34a4d20d2575769bfc7d
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
Cannot resolve caller getopt(a, OptionSet.new(main =..., OptionSet.new(main =..., OptionSet.new(main =...); none of these signatures match:
(*@optsets where { ... }, *%args)
(Str $optstring, *%args)
(@args, Str $optstring, *%args)
(@args, *@optsets where { ... }, :&helper = { ... }, :$stdout = { ... }, :$stderr = { ... }, :&parser = { ... }, :$strict = Bool::True, :$autohv = Bool::False, :$version, :$bsd-style, :$x-style --> Getopt::Advance::ReturnValue)
in block <unit> at /tmp/Ur6BaEadqr line 59
# Looks like you planned 6 tests, but ran 3
»»»»» Script exit code: 255
»»»»» Bisecting by exit code
»»»»» Current exit code is 255, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 27fbd7ab77372307e53c49dd702224df4dbdbc87
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
Cannot resolve caller getopt("a", OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|94208784416416) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|94208784416568) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "a", success => Any, callback => -> Argument $a { #`(Block|94208799062784) ... })}), OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|94208784416416) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|94208784416568) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "b", success => Any, callback => -> Argument $a { #`(Block|94208799062856) ... })}), OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|94208784416416) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|94208784416568) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "c", success => Any, callback => -> Argument $a { #`(Block|94208799062928) ... })})); none of these signatures match:
(*@optsets where { ... }, *%args)
(Str $optstring, *%args)
(@args, Str $optstring, *%args)
(@args, *@optsets where { ... }, :&helper = { ... }, :$stdout = { ... }, :$stderr = { ... }, :&parser = { ... }, :$strict = Bool::True, :$autohv = Bool::False, :$version, :$bsd-style, :$x-style --> Getopt::Advance::ReturnValue)
in block <unit> at /tmp/Ur6BaEadqr line 59
# Looks like you planned 6 tests, but ran 3
»»»»» Script exit code: 255
»»»»» Bisecting by exit code
»»»»» Current exit code is 255, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e2c7bcaec7decb73249d34fd5f1c659400eca05c
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
Cannot resolve caller getopt("a", OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|94539840104120) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|94539840104272) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "a", success => Any, callback => -> Argument $a { #`(Block|94539854659208) ... })}), OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|94539840104120) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|94539840104272) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "b", success => Any, callback => -> Argument $a { #`(Block|94539854659280) ... })}), OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|94539840104120) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|94539840104272) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "c", success => Any, callback => -> Argument $a { #`(Block|94539854659352) ... })})); none of these signatures match:
(*@optsets where { ... }, *%args)
(Str $optstring, *%args)
(@args, Str $optstring, *%args)
(@args, *@optsets where { ... }, :&helper = { ... }, :$stdout = { ... }, :$stderr = { ... }, :&parser = { ... }, :$strict = Bool::True, :$autohv = Bool::False, :$version, :$bsd-style, :$x-style --> Getopt::Advance::ReturnValue)
in block <unit> at /tmp/Ur6BaEadqr line 59
# Looks like you planned 6 tests, but ran 3
»»»»» Script exit code: 255
»»»»» Bisecting by exit code
»»»»» Current exit code is 255, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 096c4eadbe907872b43039f5e9be2f2c14996522
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
ok 4 - match cmd ok
ok 5 - match cmd ok
ok 6 - match cmd ok
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 08c97d61355bae37be4624cfe7111636062f5ef2
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
ok 4 - match cmd ok
ok 5 - match cmd ok
ok 6 - match cmd ok
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ad684de383bb0c0ff051d7b0901583a9b5c2e398
»»»»» Script output:
1..6
ok 1 - plus ok
ok 2 - multi ok
ok 3 - join ok
Cannot resolve caller getopt("a", OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|93910557310248) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|93910557310400) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "a", success => Any, callback => -> Argument $a { #`(Block|93910557892376) ... })}), OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|93910557310248) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|93910557310400) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "b", success => Any, callback => -> Argument $a { #`(Block|93910557892448) ... })}), OptionSet.new(main => [], radio => [], multi => [], no-all => {"0" => NonOption::All.new(success => Any, callback => sub ($os, @_) { #`(Sub|93910557310248) ... })}, no-pos => {"1" => NonOption::Pos.new(name => "want-digit", index => 0, success => Any, callback => sub ($_) { #`(Sub|93910557310400) ... })}, no-cmd => {"2" => NonOption::Cmd.new(name => "c", success => Any, callback => -> Argument $a { #`(Block|93910557892520) ... })})); none of these signatures match:
(*@optsets where { ... }, *%args)
(Str $optstring, *%args)
(@args, Str $optstring, *%args)
(@args, *@optsets where { ... }, :&helper = { ... }, :$stdout = { ... }, :$stderr = { ... }, :&parser = { ... }, :$strict = Bool::True, :$autohv = Bool::False, :$version, :$bsd-style, :$x-style --> Getopt::Advance::ReturnValue)
in block <unit> at /tmp/Ur6BaEadqr line 59
# Looks like you planned 6 tests, but ran 3
»»»»» Script exit code: 255
»»»»» Bisecting by exit code
»»»»» Current exit code is 255, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
ad684de383bb0c0ff051d7b0901583a9b5c2e398 is the first new commit
commit ad684de383bb0c0ff051d7b0901583a9b5c2e398
Author: Jeremy Studer <studerj1.mail@gmail.com>
Date: Fri Dec 29 20:19:21 2017 -0500
Strip Slip wrapping quoteword if one only word
When using word quoting with interpolation, interpolated words are
wrapped in a Slip. This is desirable when there are multiple words, as
the interpolated values in the Slip get integrated into the surrounding
List, but is problematic when there is only one word total (prior to
interpolation).
If there is only one word-related op in the resulting QAST tree, strip
the Slip. This fixes the issue when using both qqww and << >>.
Also added "val" sub variant that handles both Slips and Lists, as it
was there was not a good candidate for dealing with the List returned by
the "words" method (on the << >> path).
Addresses [Issue #1204](https://github.com/rakudo/rakudo/issues/1204)
:040000 040000 9f416e901cffd892f6af0e17662de0d23f48c7d8 ab46a66e9e0a6ece3698ecfbd86d7ad8d3168f6d M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment