-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type failure against an intersection type on **kwargs #701
Comments
The way I understand this (which may be completely incorrect),
where:
But presumably since
Also, unless I'm mistaken about the meaning of So it would become:
Which can be reduced into:
Which should ultimately accept the |
Oh, wait,
I seem to have missed that And with that change |
Reproduction:
I can't quite wrap my head around
(::String | nil) & ::String & ::Hash[::Symbol, ::String]
which seems to come fromsteep
and seems to mean that it should be all of these types at once, but it can't be aString
and aHash
at the same time, ever?The text was updated successfully, but these errors were encountered: