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

Is Reggie dependent upon Swift 4.1? #1

Closed
ty-n-42 opened this issue May 7, 2018 · 1 comment
Closed

Is Reggie dependent upon Swift 4.1? #1

ty-n-42 opened this issue May 7, 2018 · 1 comment

Comments

@ty-n-42
Copy link

ty-n-42 commented May 7, 2018

Hi,
I get an error when trying to build Reggie in macOS Sierra. In automata.swift XCode complains that compactMap isn't a member; line 123: Value of type '[Transition<Input, Meta>]' has no member 'compactMap'.

I think compactMap was introduced in swift 4.1 and the version of XCode that supports swift 4.1 doesn't support macOS Sierra.

Before I go through the grief of upgrading to High Sierra I thought I'd check in with you to see if you also think that is the problem.

Thanks,
Ty

@ty-n-42
Copy link
Author

ty-n-42 commented May 9, 2018

After upgrading I can confirm that compilation works. It does seem like Reggie is now dependant upon Swift 4.1 and, on the Mac at least, Xcode 9.3 and macOS High Sierra.

@ty-n-42 ty-n-42 closed this as completed May 9, 2018
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

No branches or pull requests

1 participant