Skip to content

dataclasses.InitVar crashes on new analyzer #6955

Closed

Description

@ilevkivskyi

Currently this test case crashes on the new semantic analyzer:

[case testDataclassesInitVars]
from dataclasses import InitVar, dataclass

defer: Yes

@dataclass
class Application:
  name: str
  database_name: InitVar[str]

class Yes: ...
[builtins fixtures/list.pyi]

Activity

  1. added
    topic-plugins
    semantic-analyzer
    on Jun 7, 2019
  2. self-assigned this
    on Jun 11, 2019
  3. added a commit that references this issue on Jun 13, 2019
    fa91054
  4. added a commit that references this issue on Jun 13, 2019
    7692f56
  5. added a commit that references this issue on Jun 23, 2019
    4e5f696
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

crashpriority-0-highsemantic-analyzertopic-plugins

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions