Commit 5e09d98
File [1.20]: publish resolve-before-you-match for AST consumers
riddlg surfaced this while confirming a rule we shipped. The same defect --
matching a field's WRITTEN type expression instead of its resolved one -- has now
been written independently in two codebases twelve days apart, and riddl-models
reported the riddlc instance of it back on 2026-08-14.
It recurs because the alias IS the documented house style, so a model written
idiomatically is exactly the one that breaks a consumer matching on node shape.
The wrong instinct is also the natural one, which is what makes it worth writing
down once rather than fixing case by case.
Counting resolvePath's missing ClassTag, this is the third time the shape has cost
someone a day.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 641b93e commit 5e09d98
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
1156 | 1177 | | |
1157 | 1178 | | |
1158 | 1179 | | |
| |||
0 commit comments