Closed
Description
Currently, a type error in the default value for an argument results in a generic Incompatible types in assignment (expression has type "X", variable has type "Y")
error. As @gvanrossum pointed out in #3248, this deserves a special error such as: Default for argument XXX is incompatible with its type (expression has type "X", argument has type "Y")
.
Metadata
Metadata
Assignees
Labels
No labels