Skip to content

Creation of class objects are not recognized #72

@ralph-bergmann

Description

@ralph-bergmann

If a class is not generic, or it is generic but the generic type is not defined, the creation of an object of that class is not recognized.

SCR-20240505-dfzg

I use flash.nvim to select code blocks (nodes from tree-sitter?).

On line 47, you can see that it has recognized MaterialPageRoute with its constructor arguments (pink label b). However, it doesn't recognize ListenableBuilder (line 30) or MaterialApp (line 33) because they are not generic types (no pink label).

It also doesn't recognize MaterialPageRoute when I remove its generic type:
SCR-20240505-dkse

I hope I was able to describe the problem :-)

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