Skip to content

Warning on mlhs_paren #16

@pocke

Description

@pocke

code for reproduce:

x{|(*a,b)|}

warning:

[ruby_hl_lvar.vim] WARN: Unsupported ast item in handle_massign_lhs: [[:mlhs_paren, [:@ident, "b", [1, 7]]]]

S expression for this code:

[:program,
 [[:method_add_block,
   [:method_add_arg, [:fcall, [:@ident, "x", [1, 0]]], []],
   [:brace_block,
    [:block_var,
     [:params,
      [[:mlhs_paren,
        [:mlhs_add_star,
         [:@ident, "a", [1, 5]],
         [[:mlhs_paren, [:@ident, "b", [1, 7]]]]]]],
      nil,
      nil,
      nil,
      nil,
      nil,
      nil],
     false],
    [[:void_stmt]]]]]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions