-
Notifications
You must be signed in to change notification settings - Fork 216
Closed
Labels
bugSomething isn't workingSomething isn't workingdiagnosticsRelated to reporting of diagnostics.Related to reporting of diagnostics.
Milestone
Description
The diagnostic message in the following example should say "Object of type int is not assignable to str":
x: str = ""
def returns_tuple() -> tuple[int, int]:
return (0, 0)
# Object of type `tuple[int, int]` is not assignable to `str`
x, y = returns_tuple()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdiagnosticsRelated to reporting of diagnostics.Related to reporting of diagnostics.