Skip to content
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

Fix Swift 4 compilation error #149

Merged
merged 2 commits into from Nov 17, 2017
Merged

Fix Swift 4 compilation error #149

merged 2 commits into from Nov 17, 2017

Conversation

dcwatson
Copy link
Contributor

Installing 0.10.0 on Xcode 9.1/Swift 4 results in a compilation error to the effect of "Swift 4 subscripts returning string obsoleted". Not sure if this was a more recent change in 9.1, since I see you're already testing on Xcode 9.

@dcwatson dcwatson mentioned this pull request Nov 16, 2017
@kylef
Copy link
Collaborator

kylef commented Nov 16, 2017

@dcwatson, Thanks for the PR. Would you be able to add an extra testing matrix for Xcode 9.1 since this problem is only with that version of Xcode (if I understand correctly). You can copy the lines from https://github.com/kylef/Stencil/blob/master/.travis.yml#L6-L8 and update for Xcode 9.

Copy link

@OneSman7 OneSman7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is ok, it's a simple change.

@OneSman7
Copy link

Waiting for this to be released in pod.
For now will make these chages directly in library code.

@dcwatson
Copy link
Contributor Author

Welp, the xcode9.1 tests ran successfully, not sure why the Swift 4 linux tests started failing, I didn't change anything else...

@kylef kylef merged commit 9e24ab6 into stencilproject:master Nov 17, 2017
@dcwatson
Copy link
Contributor Author

Thanks! And thanks for the project, it's feels like home as a Django guy getting his feet wet with Swift.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants