Skip to content

bug: ->* operator missed in field_expression #377

Open

Description

@yuriv

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues of tree-sitter-cpp

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

0.27

Describe the bug

The ->* operator missed in choice clue in field_expression rule

Steps To Reproduce/Bad Parse Tree

  1. run standard playground
  2. select c++ language
  3. put to source struct s {struct k k; void foo(){}}; void b() {s * a1; auto f = &s::foo; a1->*f();}
  4. parse error occurred

Expected Behavior/Parse Tree

no parse error

Repro

// Example code that causes the issue
struct s {void foo(){}}; 
void b() {
  s * a1; 
  auto f = &s::foo; 
  a1->*f(); // <--error here at `*`
}

Activity

  1. thaipanichatm-crypto commented on Oct 21, 2026

    @thaipanichatm-crypto

    #350 Example Open JavaScript
    #256 #19
    #MiT LISH 10•10.10
    #เปิดการใช้งาน ကး✡️♎ℹမ🆙️⚙️🛠⚒️🎼🃏🤬👀
    #that causes ဝthe issue #>¡*
    struct s {void[း _>¡ ℹ]}
    #373
    #QuantumSuit mechanics Setupskill Blackscan ShouldAutomate Bot xYXivQXt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions