Skip to content

Do not call is_subtype and is_same_type in third pass of semantic analysis #3977

Closed
@ilevkivskyi

Description

@ilevkivskyi

We recently eliminated calls to join from semantic analysis and postponed them to callbacks before type checking. However, third pass still calls is_subtype and is_same_type. I think this can cause problems, and it is better to refactor these calls to a later stage (probably also to the callbacks).

This was discovered while working on #3952

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions