Commit 8b77ba7
Handle corner case in iterated variable processing
When processing deferred iterated variables, if the variable maps to
another Var that also has no projection, the second variable would be
added to iterated_vars but not processed (since we're already iterating).
Fix: Reset iterated_vars before processing, then check if any new
variables were added during iteration - these indicate broken projection
chains and should raise an error.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 965ac81 commit 8b77ba7
1 file changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3864 | 3864 | | |
3865 | 3865 | | |
3866 | 3866 | | |
| 3867 | + | |
| 3868 | + | |
| 3869 | + | |
| 3870 | + | |
| 3871 | + | |
| 3872 | + | |
| 3873 | + | |
3867 | 3874 | | |
3868 | 3875 | | |
3869 | | - | |
| 3876 | + | |
| 3877 | + | |
| 3878 | + | |
3870 | 3879 | | |
3871 | | - | |
3872 | | - | |
3873 | | - | |
3874 | | - | |
3875 | | - | |
3876 | | - | |
| 3880 | + | |
3877 | 3881 | | |
| 3882 | + | |
| 3883 | + | |
3878 | 3884 | | |
3879 | 3885 | | |
3880 | 3886 | | |
| |||
0 commit comments