Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.7: rubyfmt crashes with pattern matching #325

Open
phiggins opened this issue Jun 14, 2021 · 0 comments
Open

2.7: rubyfmt crashes with pattern matching #325

phiggins opened this issue Jun 14, 2021 · 0 comments

Comments

@phiggins
Copy link
Collaborator

phiggins commented Jun 14, 2021

https://rubyreferences.github.io/rubychanges/2.7.html#pattern-matching

$ cat example.rb
require 'open-uri'
require 'json'

data = URI.open('https://api.github.com/repos/ruby/ruby/pulls').read
       .then { |body| JSON.parse(body, symbolize_names: true) }

data in [{user: {login:}, title:, created_at:}, *] # match array of hashes, with deep matching inside first hash

p [login, title, created_at]
$ ruby example.rb
example.rb:7: warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!
["eileencodes", "[Bug #17880] Set leaf false on opt_setinlinecache", "2021-06-11T18:48:30Z"]
$ cat example.rb | ruby -I.:librubyfmt/ -rpp -rripper -rrubyfmt_lib -e "pp Parser.new(ARGF.read).parse"
[[:program,
  [[:command,
    [:@ident, "require", [1, 0]],
    [:args_add_block,
     [[:string_literal,
       [:string_content, [:@tstring_content, "open-uri", [1, 9]]]]],
     false]],
   [:command,
    [:@ident, "require", [2, 0]],
    [:args_add_block,
     [[:string_literal,
       [:string_content, [:@tstring_content, "json", [2, 9]]]]],
     false]],
   [:assign,
    [:var_field, [:@ident, "data", [4, 0]]],
    [:method_add_block,
     [:call,
      [:call,
       [:method_add_arg,
        [:call,
         [:var_ref, [:@const, "URI", [4, 7]]],
         [:@period, ".", [4, 10]],
         [:@ident, "open", [4, 11]]],
        [:arg_paren,
         [:args_add_block,
          [[:string_literal,
            [:string_content,
             [:@tstring_content,
              "https://api.github.com/repos/ruby/ruby/pulls",
              [4, 17]]]]],
          false]]],
       [:@period, ".", [4, 63]],
       [:@ident, "read", [4, 64]]],
      [:@period, ".", [5, 7]],
      [:@ident, "then", [5, 8]]],
     [:brace_block,
      [:block_var,
       [:params, [[:@ident, "body", [5, 16]]], nil, nil, nil, nil, nil, nil],
       false],
      [[:method_add_arg,
        [:call,
         [:var_ref, [:@const, "JSON", [5, 22]]],
         [:@period, ".", [5, 26]],
         [:@ident, "parse", [5, 27]]],
        [:arg_paren,
         [:args_add_block,
          [[:var_ref, [:@ident, "body", [5, 33]]],
           [:bare_assoc_hash,
            [[:assoc_new,
              [:@label, "symbolize_names:", [5, 39]],
              [:var_ref, [:@kw, "true", [5, 56]]]]]]],
          false]]]]]]],
   [:case,
    [:var_ref, [:@ident, "data", [7, 0]]],
    [:in,
     [:aryptn,
      nil,
      [[:hshptn,
        nil,
        [[[:@label, "user:", [7, 10]],
          [:hshptn, nil, [[[:@label, "login:", [7, 17]], nil]], nil]],
         [[:@label, "title:", [7, 26]], nil],
         [[:@label, "created_at:", [7, 34]], nil]],
        nil]],
      [:var_field, nil],
      nil],
     nil,
     nil],
    nil],
   [:command,
    [:@ident, "p", [9, 0]],
    [:args_add_block,
     [[:array,
       [[:vcall, [:@ident, "login", [9, 3]]],
        [:vcall, [:@ident, "title", [9, 10]]],
        [:vcall, [:@ident, "created_at", [9, 17]]]],
       [9, 2]]],
     false]]]],
 {7=>"# match array of hashes, with deep matching inside first hash\n"},
 {1=>true, 2=>true, 4=>true, 5=>true, 7=>true, 9=>true},
 10]
$ cat example.rb | ./target/debug/rubyfmt-main
00:36:32 [DEBUG] (1) rubyfmt: logger works
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "program" "program"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "assign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "massign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "@const"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "command" "command"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "args_add_block" "args_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "string_literal" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "string_content" "string_content"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@tstring_content" "@tstring_content"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "assign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "massign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "command" "@const"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "command" "command"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "args_add_block" "args_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "string_literal" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "string_content" "string_content"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@tstring_content" "@tstring_content"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "assign" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "assign" "assign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "var_field" "var_field"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@gvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@ivar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@cvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "assign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "massign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "@const"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "command"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "const_path_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "defined"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "top_const_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "rescue_mod"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "mrhs_add_star"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "next"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "string_concat"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "super"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "@kw"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "undef"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "binary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "@float"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "aref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "@CHAR"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "module"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "return"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "return0"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "regexp_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "@backref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_block" "yield"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "method_add_block" "method_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "call" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "call" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "fcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "method_add_arg" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "call" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "fcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "var_ref" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@gvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@ivar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@cvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@const" "@const"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "&."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@period" "@period"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "arg_paren" "arg_paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "args_add_block" "arg_paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "args_add_block" "args_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "string_literal" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "string_literal" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "string_content" "string_content"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@tstring_content" "@tstring_content"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "&."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@period" "@period"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "&."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@period" "@period"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "brace_block" "brace_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "block_var" "block_var"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "params" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "method_add_arg" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "method_add_arg" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "call" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "call" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "fcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "var_ref" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@gvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@ivar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@cvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@const" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@const" "@const"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@period" "&."
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@period" "@period"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "arg_paren" "arg_paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "args_add_block" "arg_paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "args_add_block" "args_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "var_ref" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@gvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@ivar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@cvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "bare_assoc_hash" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "bare_assoc_hash" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "assoc_new" "assoc_new"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@label" "@label"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "var_ref" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@kw" "@gvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@kw" "@ivar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@kw" "@cvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@kw" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@kw" "@const"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@kw" "@kw"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "assign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "massign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@const"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "command"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "const_path_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "defined"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "top_const_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "rescue_mod"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "mrhs_add_star"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "next"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "string_concat"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "super"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@kw"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "undef"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "binary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@float"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "aref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@CHAR"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "module"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "return"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "return0"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "regexp_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@backref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "yield"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "method_add_block"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "while"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "while_mod"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "until_mod"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "if_mod"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "unless_mod"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "case" "case"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "oiqjweoifjqwoeifjwqoiefjqwoiej"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "class"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "if"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "unary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "void_stmt"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "def"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "defs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "vcall"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "params"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "command_call"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "method_add_arg"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "@int"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "bare_assoc_hash"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "symbol_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dyna_symbol"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "begin"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "BEGIN"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "END"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "paren"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dot2"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "dot3"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "alias"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "array"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "string_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "var_ref" "xstring_literal"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "var_ref" "var_ref"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@gvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@ivar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "@ident" "@cvar"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: accepted at "@ident" "@ident"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "in" "when"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "retry"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "redo"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "sclass"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "break"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "lambda"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@imaginary"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "@rational"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "mlhs"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "until"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "for"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "ifop"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "opassign"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "unless"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "zsuper"
00:36:32 [DEBUG] (1) rubyfmt::ripper_tree_types: rejected at "case" "yield0"

🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛
🐛                                                                                              🐛
🐛  Rubyfmt failed to correctly deserialize a tree from ripper. This is absolutely a bug        🐛
🐛  and you should send us a bug report at https://github.com/penelopezone/rubyfmt/issues/new.  🐛
🐛  Ideally you would include the full source code of the program you ran rubyfmt with.         🐛
🐛  If you can't do that for some reason, the best thing you can do is                          🐛
🐛  rerun rubyfmt on this program with the debug binary with `2>log_file` on the end            🐛
🐛  and then send us the log file that gets generated.                                          🐛
🐛                                                                                              🐛
🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛🐛

file was: stdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant