Skip to content

Provide context on why an assignment failed #163

@dhruvmanila

Description

@dhruvmanila

It will be useful to provide why an assignment between two types failed. Pyright does this but for ty it will require updating the APIs because currently the returned type is boolean for is_assignable_to.

Metadata

Metadata

Assignees

Labels

diagnosticsRelated to reporting of diagnostics.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions