Skip to content

New semantic analyzer: Update type aliases logic #6355

Closed

Description

@ilevkivskyi

The old logic for type aliases will create variables in stead of aliases in case the target is class but it is not ready. An example is:

Text = str

class str(Sequence[str]):
    ...

Activity

  1. self-assigned this
    on Feb 7, 2019
  2. JukkaL commented on Feb 7, 2019

    @JukkaL
    Collaborator

    More generally, maybe we should create a PlaceholderNode if the rvalue contains some placeholders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions