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

Swift Compile Error #17

Closed
sphen13 opened this issue Nov 10, 2021 · 1 comment
Closed

Swift Compile Error #17

sphen13 opened this issue Nov 10, 2021 · 1 comment
Assignees

Comments

@sphen13
Copy link

sphen13 commented Nov 10, 2021

Was attempting to build with my signing cert and new icons but ran in to a swift compile error. On macOS 12.0.1 - M1 - Xcode 13.1

SwiftPM - Sources - Basic - Await.swift - await

Line 18:

Value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'

code block referenced:

public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
    return try await(body).dematerialize()
}

looks to be a dependency issue?

@sphen13
Copy link
Author

sphen13 commented Nov 10, 2021

fyi i was able to build the same unchanged project on Xcode 12.4 (macOS 10.15)

@macmule macmule added this to the 2.3 milestone May 4, 2022
This was referenced May 26, 2022
@macmule macmule mentioned this issue Apr 21, 2023
Merged
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

3 participants