Open soutaro opened 3 years ago
Union types are not expanded automatically for overloading. This may result in an unexpected type error.
# @type var x: Integer | Float x = 1 1 + x # Cannot resolve overloading even `+` is defined for both Integer and Float
Reported in https://github.com/soutaro/steep/issues/331.
Related to the code in https://github.com/soutaro/steep/issues/332#issuecomment-802449038.
Union types are not expanded automatically for overloading. This may result in an unexpected type error.
Reported in https://github.com/soutaro/steep/issues/331.