Skip to content

tree_sitter_accuracy_audit.py: typescript ground-truth gaps for overloads and class fields #1707

Description

@squid-protocol

The tree_sitter_accuracy_audit.py script has two ground-truth gaps for typescript:

  1. Missing Overload Signatures: Missing function_signature and method_signature from node types. GitGalaxy correctly flags them, but the audit script incorrectly counts them as 'extra'.
  2. Missing Class Field Arrow Functions: Tree-sitter parses class fields like onmessage = (message) => {}; as a public_field_definition containing an arrow_function. The _get_node_name function lacks the logic to extract names from this specific parent.

Activity

  1. added
    bug
    testing
    on Aug 15, 2026
  2. added a commit that references this issue on Aug 16, 2026
    b8bd93b
  3. added this to the v2.4.8 milestone on Aug 16, 2026
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

    bugtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions