-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure using Swift 4.2 from Xcode 10 Beta #92
Comments
I ran into this as well when trying to build Sourcery: krzysztofzablocki/Sourcery#649 |
I understand the error and can see that this array of CountableRanges is big, but I'm not sure how to make that easier to parse for the Swift compiler and type checker… Any idea how to annotate that better to help the type checker and fix this? |
I've created a PR to fix this. I've tested it locally with Xcode 10b3 (I haven't had time downloading b4 yet) and this seems to fix it in the meantime, by adding hints all over the place for the type checker. Unfortunately, we haven't configured CircleCI to test under Xcode 10 just yet (currently it still tests under Xcode 9.2). Might be interesting to do a PR so that Circle checks both on Xcode 9.4 and 10 in the future |
Can we release this? Builds are failing for beta Xcode users in the dependent projects. |
I'm running into an issue building StencilSwiftKit with SPM using Swift 4.2.
It looks like the same issue was detected by the Swift source compatibility suite: https://bugs.swift.org/browse/SR-8046
Has anyone else seen this / know of a work around?
The text was updated successfully, but these errors were encountered: