Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Comments just generally get underfoot #394

@robrix

Description

@robrix

Comments in the tree mess up all sorts of things. cf #371, #393, and others. We currently have to either make them into the lowest common denominator and add every scoped variable used anywhere to them, or make queries needlessly specific in what they'll match, which couples them overly tightly to the grammar and in any case doesn't work out so well for adjacency patterns (the ones with .s in them).

Most or all comments are unnecessary to stack graph rules, in that we aren't trying to resolve name lookups in or through them (although maybe we would want to jump to definition from within doctests or documentation comments), so maybe we could filter them out of the tree altogether?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions