Commit 744c094
Don't depend on Foundation since Swift 4.2 (#58)
Before Swift 4.2 the `hasSuffix(_:)` method of `String` was unavailable on non-Darwin platforms without importing Foundation.
In Swift 4.2 this was fixed.
This allows us to not depend on Foundation on newer versions of Swift at all.1 parent 97b51ef commit 744c094
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments