Commit 2c05e08
Skip storing expression types with new in chain instead of skipping at resolve time
Move the expressionHasNewInChain check from resolveType() to
specifyExpressionType() so that expressions based on new are never
remembered in the first place, rather than being stored and then
ignored at lookup time.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3bfb674 commit 2c05e08
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | 976 | | |
978 | 977 | | |
979 | 978 | | |
| |||
2733 | 2732 | | |
2734 | 2733 | | |
2735 | 2734 | | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
2736 | 2739 | | |
2737 | 2740 | | |
2738 | 2741 | | |
| |||
0 commit comments