tree-sitter-supercollider icon indicating copy to clipboard operation
tree-sitter-supercollider copied to clipboard

defining `=>` as method / binary operator not recognized

Open cdbzb opened this issue 2 years ago • 0 comments

Hi Mads - I have defined => as a method but when I write Object => Object I get

binary_expression [0, 0] - [0, 16]
  left: class [0, 0] - [0, 6]
  right: variable [0, 8] - [0, 16]
    instance_var [0, 8] - [0, 16]
      name: identifier [0, 10] - [0, 16]

instead of expected

binary_expression [0, 0] - [0, 16]
  left: class [0, 0] - [0, 6]
  right: class [0, 10] - [0, 16]

I'd be game to try to correct in the grammar if you have any pointers though I fear this may be beyond me!

thanks for your work on this project as ever btw!

cdbzb avatar Mar 27 '22 16:03 cdbzb