-
Notifications
You must be signed in to change notification settings - Fork 10
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
Swift 4 upgrade #4
Comments
Thanks for pointing out! I will have a look today. |
Great. My temporary workaround was the following. In case it helps. Added an extra case .notspecified and then in the functions added and extra control. public enum ByteOrder { open class func unpack<T: Any>(_ valueByteArray: [Byte], byte_Order: ByteOrder = .notSpecified) -> T {
|
I think it is a bug in Swift 4. |
And fixed it with version 1.2. :) |
Swift 4 reports: Static let 'nativeByteOrder' is internal and cannot be referenced from a default argument value.
Any workaround?
The text was updated successfully, but these errors were encountered: