In the Bolts-Swift framework Task.swift, upgrading to Swift 4 produces this error for this method:
class func emptyTask() -> Task<Void> {
return Task<Void>(state: .success())
}
The error states:
Missing argument for parameter #1 in call
I understand that it's saying .success needs to take a parameter but without posting the entire file in here for context, can anybody with Bolts-Swift experience identify why this used to work in Swift 3 but doesn't work now using Swift 4?