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
It is now an explicit error to use `a: Union` or `a: ()`.
The error message also explains that an empty union isn't allowed.
Fixes#4638. Fixes#4646.
pekkaklarck
changed the title
(🐞) Bad error message when function is annotated with an empty tuple ()
Bad error message when function is annotated with an empty tuple ()Jun 5, 2023
The text was updated successfully, but these errors were encountered: