Commit 7f6add5
Also check PropertyInitializationExpr scope for additional constructors
The scope check for PropertyInitializationExpr was restricted to only
__construct, but additional constructors (configured via additionalConstructors
or AdditionalConstructorsExtension) should also consult the scope since
PropertyInitializationExpr from __construct correctly reflects promoted
property initialization state for them.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9ec0cbd commit 7f6add5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments