Replies: 3 comments 2 replies
-
Let me know if this issue belongs over in swift-case-paths, but since the workaround can be applied in swift-parsing (or also in whatever package includes swift-parsing), I figured it makes sense to file here. |
Beta Was this translation helpful? Give feedback.
-
@clackary We run CI against Swift 5.9.1, so I don't think this is an issue with the library so much as an issue with development snapshots needing to explicitly enable certain feature flags. If you can reproduce this with an official release and share the repro, please do! Till we can determine this is a bug in the library I'm going to convert it to a more general discussion. |
Beta Was this translation helpful? Give feedback.
-
Quick update here -- I took another swing at this, and I've narrowed it down a bit. Building swift-parsing library with 2023-07-11 toolchain and swift-case-paths:1.1.3 exhibits the 'experimental feature' error. I checked the latest available toolchain (2023-12-07) as well, and it built the library successfully. I will note that I ran into a different error when attempting to build the entire package, but that is likely a discussion for another time. Looks like a compiler bug when building a benchmark...
For now it seems the experimental feature error isn't imminent though, so feel free to close. |
Beta Was this translation helpful? Give feedback.
-
After digging a bit, this is mostly a heads up that a new compiler error in recent toolchains, possibly as early as 5.9.1, seems to break
swift-case-paths
build.To reproduce:
swift-DEVELOPMENT-SNAPSHOT-2023-07-11-a
,but I'm guessing)swift-5.9.1-RELEASE
would likely also reproduceswift-case-paths
to something from 1.1.0 -.package(url: "https://github.com/pointfreeco/swift-case-paths", from: "1.1.0"),
swift build
Workaround:
swift-case-paths
to 1.0.0 -.package(url: "https://github.com/pointfreeco/swift-case-paths", exact: "1.0.0"),
Edit: Updated commit and dev toolchain which reproduces the error.
Beta Was this translation helpful? Give feedback.
All reactions