Commit f89072a
refactor(writer): drop dead ptype arms in buildTypedUniqueArray
isDictCandidate excludes I8/U8/I16/U16/F16/F32, so only I32/U32, I64/U64,
and F64 ever reach buildTypedUniqueArray. The narrow-int, F16, and F32 arms
were unreachable dead code padding coverage. Collapse them into a
default -> throw that documents the dict-admitted-ptype contract.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent c2918ea commit f89072a
1 file changed
Lines changed: 4 additions & 24 deletions
Lines changed: 4 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1353 | 1353 | | |
1354 | 1354 | | |
1355 | 1355 | | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
1356 | 1359 | | |
1357 | 1360 | | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | 1361 | | |
1375 | 1362 | | |
1376 | 1363 | | |
| |||
1387 | 1374 | | |
1388 | 1375 | | |
1389 | 1376 | | |
1390 | | - | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
1398 | 1377 | | |
1399 | 1378 | | |
1400 | 1379 | | |
| |||
1403 | 1382 | | |
1404 | 1383 | | |
1405 | 1384 | | |
| 1385 | + | |
1406 | 1386 | | |
1407 | 1387 | | |
1408 | 1388 | | |
| |||
0 commit comments