Commit ac9071e
committed
SwiftExtract: include URL in the Foundation known-module overlay
The Foundation/FoundationEssentials known-module source files declared
Data, Date, and UUID, but URL was missing — so any user code using URL
(e.g. `func getHost(url: URL)`) failed to import with an unresolved-type
warning, dropping the function silently. swift-python relies on URL for
its bridging tests; add it alongside the other Foundation built-ins,
declaring just the failable `init(string:)` and `absoluteString`
property the language-neutral analyzer needs to resolve uses.1 parent 09cee5b commit ac9071e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
| |||
0 commit comments