Commit d599d81
test: cover printable typeof on sumtypes (#26770)
* test: cover printable typeof on sumtypes
Fixes #26704
* fix: avoid v2 verbose timing gotos
* fix: harden v2 staged C replacement
* test: cover inline printable typeof on sumtypes
* fix: address PR review feedback
* fix: use stored typeof result in println to avoid compiler error
The compiler rejects bare typeof(expr) as a printable expression,
requiring typeof(expr).name instead. Use the already-assigned
intermediate variables to print the typeof results.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e8b898a commit d599d81
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
123 | 140 | | |
124 | 141 | | |
125 | 142 | | |
| |||
0 commit comments