https://github.com/maximkrouk/swift-failing-variadic-generics
Examples of weirdly failing variadic generics 🌚
https://github.com/maximkrouk/swift-failing-variadic-generics
Last synced: 4 months ago
JSON representation
Examples of weirdly failing variadic generics 🌚
- Host: GitHub
- URL: https://github.com/maximkrouk/swift-failing-variadic-generics
- Owner: maximkrouk
- Created: 2023-10-21T13:03:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-21T13:08:35.000Z (over 1 year ago)
- Last Synced: 2025-01-10T20:19:08.594Z (6 months ago)
- Language: Swift
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# swift-failing-variadic-generics
Package with examples of weirdly failing variadic generics 🌚
### Structure
- Package generates separate targets and products for each file
- Package does not generate test targets for files prefixed with an underscore `_`#### Notes
- May fail to process the manifest after file changes, adding/removing `./` to/from `path: "./Sources")` should help spm to rebuild the manifest
### Comments
- Use of Xcode right sidebar is recommended for reading doc comments
- Search for `✅` to find whats working
- Search for `🛑` to find failures### Contents
- **`Handler`** - [`Sources`]("Sources/Handler.swift") | [`Tests`]("Tests/HandlerTests.swift") | [`External non-variadic example`](https://github.com/CaptureContext/swift-declarative-configuration/blob/main/Sources/FunctionalClosures/Handler.swift)> Fails to compile, fails on a call site
- **`Pack`** - [`Sources`]("Sources/Pack.swift") | [`Tests`]("Tests/PackTests.swift") | [`External non-variadic example`](https://github.com/CaptureContext/swift-prelude/blob/main/Sources/Prelude/Tuples/Pack.swift)
> Compiles successfully until there are no callers (for example when tests are commented)
- **`Unpack`** - [`Sources`]("Sources/Unpack.swift") | [`Tests`]("Tests/UnpackTests.swift") | [`External non-variadic example`](https://github.com/CaptureContext/swift-prelude/blob/main/Sources/Prelude/Tuples/Pack.swift)
> Compiles successfully until there are no callers (for example when tests are commented)