Commit fb7ec65
## ReScript-surface elimination —
`session-management-standards/src/ui/tea/system_update_gui.affine`
`Refs #229` (estate-wide, sequenced, human-gated — not `Closes`).
Per-repo hands-off confirm: granted (single-file TEA GUI, intended
AffineScript target, not interop).
Tier-1 port per the language-grounded canonical map
(`affinescript/docs/RESCRIPT-ELIMINATION.adoc`):
- `List(T)` → `[T]` — 1 occurrence
- expression-position record literals `{ … }` → `#{ … }` (the record
sigil, `spec.md:414-421`). Match record-**patterns** and
`struct`/`enum`/`type` decl bodies left as `{ }` — the sigil is
expression-literal-only (oracle-confirmed: `#{` pattern parse-errors).
- ReScript string `+` → AffineScript `++` where present (concat is
`++`; `+` is numeric — was a `String/Int` unify error beneath the
parse wall; numeric `+`/`-` untouched). A layered RS-ism the
text-scanner could not see (oracle-peeled — exactly the
RESCRIPT-ELIMINATION.adoc lower-bound-triage warning).
**Verified:** `affinescript main check
session-management-standards/src/ui/tea/system_update_gui.affine` →
**Type checking passed**
(pre-port: parse error / DRIFT-SYNTAX). Self-contained, no imports.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: hyperpolymath <hyperpolymath@users.noreply.github.com>
1 parent 4620037 commit fb7ec65
1 file changed
Lines changed: 9 additions & 9 deletions
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments