Commit df5a908
fix: rewrite property references in kwarg defaults of indexed properties
Kwarg default expressions in indexed property signatures (e.g.
`bar(idx; limit=min(200, n))`) were not passed through walk_rhs,
leaving bare property references that caused UndefVarError at runtime.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f2037ee commit df5a908
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1126 | 1139 | | |
1127 | 1140 | | |
1128 | 1141 | | |
1129 | | - | |
| 1142 | + | |
1130 | 1143 | | |
1131 | 1144 | | |
1132 | 1145 | | |
| |||
0 commit comments