-
Notifications
You must be signed in to change notification settings - Fork 672
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
[Bug] Union of empty-array and false is false #9827
Comments
I found these snippets: https://psalm.dev/r/101d23c155<?php
/**
* @var array<never>|false
*/
$_data = ["some text", 5];
/** @psalm-trace $_data */
|
Closed
It seems to be caused by this line: https://github.com/vimeo/psalm/blob/master/src/Psalm/Internal/Type/TypeCombiner.php#L133 |
ygottschalk
added a commit
to ygottschalk/psalm
that referenced
this issue
Jun 12, 2023
This was referenced Jun 12, 2023
Merged
robchett
pushed a commit
to robchett/psalm
that referenced
this issue
Jun 18, 2023
…rray-and-false Fixes vimeo#9827
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://psalm.dev/r/101d23c155
The text was updated successfully, but these errors were encountered: