You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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").
The text was updated successfully, but these errors were encountered:
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")
.The text was updated successfully, but these errors were encountered: