Commit e3a10d7
committed
Fixed: TS2Swift was emitting class types twice (once via
- Change: `Plugins/BridgeJS/Sources/TS2Swift/JavaScript/src/processor.js` now records emitted class names in `emittedStructuredTypeNames` so the structured-type pass skips them.
- Snapshots refreshed; `swift test --package-path ./Plugins/BridgeJS` passes.visitClassDecl, then again via visitStructuredType when the same type showed up in seenTypes), which caused the duplicate _Weird interface in InvalidPropertyNames.Import.d.ts.1 parent 0497d26 commit e3a10d7
File tree
3 files changed
+3
-5
lines changed- Plugins/BridgeJS
- Sources/TS2Swift/JavaScript/src
- Tests/BridgeJSToolTests/__Snapshots__
- BridgeJSLinkTests
- ImportTSTests
3 files changed
+3
-5
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
464 | 467 | | |
465 | 468 | | |
466 | 469 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
0 commit comments