Skip to content

Fix too wide type inference for ASSIGN_DIM_OP - #24092

Open
ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:fix-assign-dim-op-result-type
Open

ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:fix-assign-dim-op-result-type

Conversation

@ndossche

@ndossche ndossche commented Oct 3, 2026

Copy link
Copy Markdown
Member

The checks for a null result were done on the incorrect variables: t1 and t2 were already overwritten with the key and value type. This results in a null being inferred in the result in cases where this isn't possible.

The checks for a null result were done on the incorrect variables: t1
and t2 were already overwritten with the key and value type.
This results in a null being inferred in the result in cases where this
isn't possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant