Commit 8a51909
committed
Applied the review “ditto” cleanups by merging identical array branches:
- `ImportTS.swift`: array handling now returns the same lowering/lifting info without redundant `switch context` blocks (lines ~965, ~1056).
- `JSGlueGen.swift`: array parameter lifting uses a single `arrayLift` branch (around line 1555).
Re-ran runtime tests: `SWIFT_SDK_ID=DEVELOPMENT-SNAPSHOT-2025-11-03-a-wasm32-unknown-wasip1 make unittest` — all 20 suites / 96 tests still pass.1 parent 799def2 commit 8a51909
2 files changed
Lines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
| 965 | + | |
971 | 966 | | |
972 | 967 | | |
973 | 968 | | |
| |||
1054 | 1049 | | |
1055 | 1050 | | |
1056 | 1051 | | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
| 1052 | + | |
1063 | 1053 | | |
1064 | 1054 | | |
1065 | 1055 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1553 | 1553 | | |
1554 | 1554 | | |
1555 | 1555 | | |
1556 | | - | |
1557 | | - | |
1558 | | - | |
1559 | | - | |
1560 | | - | |
1561 | | - | |
| 1556 | + | |
1562 | 1557 | | |
1563 | 1558 | | |
1564 | 1559 | | |
| |||
0 commit comments