Commit 7b87b10
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. Other consumers of the
language-neutral analyzer rely on URL for 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 b849ab5 commit 7b87b10
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