Skip to content

Remove unused type variables from the unification table #3

@samanpa

Description

@samanpa

When type checking let foo() { 4 }. Initially a fresh type variable is introduce to represent the return type. Later on this type variable is unified with an int and ideally should no longer exist. The current unification table keeps the type variable around forever.

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