Skip to content

Input assignability should consider output type never. #1673

@RunDevelopment

Description

@RunDevelopment

Motivation
As pointed out here, if you can connect 2 things, it should just work. However, this is currently not the case because of output types. Output types can become never which signifies invalid inputs. These types of errors are currently not accounted for when checking whether for compatibility.

Description
Check for output type never when checking assignability. If assigning some input type causes any node output to become never, then the assignment should be invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions