Skip to content

Term appears in its own list of ancestors (in some cases) #1862

@russell-rozenbaum

Description

@russell-rozenbaum

An example case is:

type x = (
  a = Int, 
  b = Float
)
in

The ancestors of the tuple type (a = Int, b = Float) has itself at index 0. This is also observed if the term is a basic type, and potentially more cases.

Likely an issue with implementations not using the helpers and using the helpers to add stuff to the info map... if they do not use the helpers, then they will be using the shadowed version of ancestors, which has the current node already included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions