Skip to content

type variables are leaking from alias definitions #2814

Description

@jurgenvinju

This one is a separate issue:

alias List4[&T1]        = list[&U3]; // No error. Moreover, "Go To Definition" suggests the def location of `&U3` (not a typo) is the location of the upper bound of `List3`.

This means that the type environment around this single alias definition is leaking. (And arond the previous one). This could lead to many bugs.

Originally posted by @jurgenvinju in #2791

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions