Commit 83de825
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 d2f6cce commit 83de825
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
974 | | - | |
975 | 974 | | |
976 | 975 | | |
977 | 976 | | |
| |||
2728 | 2727 | | |
2729 | 2728 | | |
2730 | 2729 | | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
| 2733 | + | |
2731 | 2734 | | |
2732 | 2735 | | |
2733 | 2736 | | |
| |||
0 commit comments