Commit 9fce389
Remove expressionHasNewInChain from MutatingScope
The TypeSpecifier side-effect checks now handle the new-in-chain case:
expressionHasSideEffects() treats New_ as impure, preventing narrowed
types from being stored for any expression with new in its chain.
The MutatingScope check is no longer needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 667d56b commit 9fce389
1 file changed
Lines changed: 0 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
977 | | - | |
978 | 977 | | |
979 | 978 | | |
980 | 979 | | |
| |||
991 | 990 | | |
992 | 991 | | |
993 | 992 | | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
1015 | 993 | | |
1016 | 994 | | |
1017 | 995 | | |
| |||
0 commit comments