Skip to content

TASTy should list the types of template parents #8028

Open
@bishabosha

Description

@bishabosha

Currently in order to unpickle the parents of a template in TASTy, you must parse many arbitrary trees including selecting the correct overloaded constructor, and performing unification of type variables on the return type of that constructor.

In Scala 2 all that is required is the types of the parents; it is inefficient to traverse expressions to calculate and propagate a type.

there should be a simple list of types enumerating the parents, that can be referenced to from the actual trees that make up the extends clauses.

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