We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Xcode 10 compiling with Swift 4.
md5: 657bee1e4a8c3d01e8f4b8b27f03d668
duplicates:
Issue Description:
I'm doing my codebase migration. Stumbled upon SEG Fault in this piece of code.
I tried executing in Playgrounds and a single view app with this code in the view controller file. Both fails to compile.
@discardableResult public func applyWrapped<T, U>(function: Optional<(T) -> U>, to value: Optional<T>) -> Optional<U> { switch (function, value) { case (let .some(f), let .some(v)): return .some(f(v)) case (.none, _): return .none case (_, .none): return .none } }
Im running Xcode 10 and trying to compile with Swift4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Xcode 10 compiling with Swift 4.
Additional Detail from JIRA
md5: 657bee1e4a8c3d01e8f4b8b27f03d668
duplicates:
Issue Description:
I'm doing my codebase migration. Stumbled upon SEG Fault in this piece of code.
I tried executing in Playgrounds and a single view app with this code in the view controller file. Both fails to compile.
Im running Xcode 10 and trying to compile with Swift4
The text was updated successfully, but these errors were encountered: