Guillaume Lessard

Results 22 issues of Guillaume Lessard

Follow-up to https://github.com/broadwaylamb/OpenCombine/issues/157. Adds the test with an `assertCrashes` block, to monitor if and when the official Combine stops crashing in this situation (FB7722681). Note that `Just` and `Optional.Publisher` exhibit...

An example I wrote a while back needs atomics both for a `RawRepresentable` type and its Optional. This particular combination of functionality was missing from the package. This PR defines...

When writing a cli, the interface might be interesting enough to warrant tests of the parsing. In order to do that I had previously copied the test helpers from the...

enhancement

- Update README for version 1.3.0 - Update copyright notices for files changed since 1.2.1

- [ ] Swift 5.6.3 on macOS - [ ] Swift 5.7.3 on macOS - [ ] Swift 5.8.1 on macOS - [x] Swift 5.9 on macOS - [ ]...

- Include the `Sendable` conformances (https://github.com/apple/swift-system/pull/115) - Include `Mach.Port` (https://github.com/apple/swift-system/pull/129) - Bump up toolchain requirement to 5.6, which supports concurrency (https://github.com/apple/swift-system/pull/141) - Clean up any conditional compilation branches that are...

While working on https://github.com/apple/swift-system/pull/154, I found a few little inconsistencies in the implementation of the `SystemString` type. This PR fixes the inconsistencies I found.

Currently, this uses walking directions even when going at 120km/h. That's silly.

enhancement
help wanted

For some reason, `select` can't be used as a function name on iOS. Seems like a bug (rdar://21528956)

Currently, `Date.description` contains a large stack allocation of 128 bytes: https://github.com/apple/swift-foundation/blob/aefeed454027ac54325da6b743bf6031edb67273/Sources/FoundationEssentials/Date.swift#L264-L265 This allocation is almost certainly larger than necessary, but the behaviour of `strftime`, the C-library call being wrapped here,...