Rick van Voorden

Results 8 comments of Rick van Voorden

> We have added it to our Xcode project under the "Package Dependencies" tab. @kimdv Hmm… is there any utility or tool I could run locally to confirm the bug...

``` Xcode 14.0.1 Build version 14A400 Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50) Target: x86_64-apple-macosx12.0 ``` https://github.com/apple/swift-collections?tab=readme-ov-file#project-status It looks like the swift-collections 1.1.x package requires Swift 5.7.2 and Xcode 14.2.

> the SwiftPM manifest header does not allow packages to require specific point releases https://developer.apple.com/documentation/PackageDescription/Package#overview @lorentey Hmm… this documentation has an example of requiring a point release (`swift-tools-version:3.0.2`)… is that...

https://github.com/apple/swift-package-manager/blob/main/Sources/Commands/PackageTools/ToolsVersionCommand.swift#L72-L80 https://github.com/apple/swift-package-manager/blob/main/Sources/PackageModel/ToolsVersion.swift#L78-L81 https://github.com/apple/swift-package-manager/blob/main/Sources/Workspace/InitPackage.swift#L422-L425 https://github.com/apple/swift-package-manager/blob/main/Tests/WorkspaceTests/ToolsVersionSpecificationRewriterTests.swift#L167-L171 @lorentey Hmm… are we running into one of these code paths that is zeroing the patch version?

@lorentey Ahh… this is a good fix! Sorry about that one. Would these fixes happen enough that some kind of linter that automatically flags a diff with `print` in test...

> Just to confirm: This is only an issue for `assertMacroExpansion` and not during compilation, right? @ahoppen Correct. Here is a diff that compiles a playground and passes tests: ```...

```swift #if hasFeature(ImplicitOpenExistentials) let predicate3 = factory.createPredicate2(rootType: Root.self, leafType: failingType) print("predicate3=\(predicate3)") #else func body(_: Value.Type) -> Value.Type { Value.self } let predicate3 = factory.createPredicate2( rootType: Root.self, leafType: _openExistential( failingType, do:...