Commit e4ae716
fix(affine): migrate record literals to #{ } (affinescript#218)
AffineScript #218 makes bare { always a block; record/struct literals
now require the #{ } sigil. Migrated the expression-position record
literals (hand-verified per-site; the regex codemod is known-unsound):
* monitoring-api/src/Server.affine respond_error -> nested #{ }
* stale/packages/scanner/src/Scanner.affine Scanner #{ } ctor
* stale/packages/core/src/Arangodb.affine open_database / make_service args
All pub type ... = { } declarations, List[{...}] type positions and
match-arm blocks are type/block position and are intentionally left
as { }. Repo CI (affinescript build) is the oracle.
Refs hyperpolymath/affinescript#218
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c68fe6f commit e4ae716
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- tools
- monitoring-api/src
- stale/packages
- core/src
- scanner/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments