[php-src] PR #12622: Fix RCn inference for [QM_]ASSIGN
| From: | iluuu1994 | Date: | Mon, 06 Nov 2023 16:58:33 +0000 |
| Subject: | [php-src] PR #12622: Fix RCn inference for [QM_]ASSIGN | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24119@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12622
Author: iluuu1994
If we infer the rhs of an assignment as RC1, the type of a CV should still be RCn. Otherwise, every
use of the variable would constitute a definition from RC1 to RCn, which is likely not desirable.
These issues were found using type inference verification PR. The tests are obviously quite useless
without it.