Skip to content

Conversation

@ianpartridge
Copy link
Contributor

Fixes warning:

'scheduleRepeating(deadline:interval:leeway:)' is deprecated: renamed to 'schedule(deadline:repeating:leeway:)'
Use 'schedule(deadline:repeating:leeway:)' instead

@pushkarnk

@pushkarnk
Copy link
Member

@swift-ci test and merge

@ianpartridge
Copy link
Contributor Author

Foundation/NSURLSession/http/MultiHandle.swift:331:9: error: value of type 'DispatchSource' has no member 'schedule'
        rawSource.schedule(deadline: start, repeating: .milliseconds(Int(delay)), leeway: (milliseconds == 1) ? .microseconds(Int(1)) : .milliseconds(Int(1)))
        ^~~~~~~~~ ~~~~~~~~

I'll investigate and reopen. Looks like the Dispatch overlay needs fixing first.

@ianpartridge ianpartridge deleted the multihandle-warning branch July 27, 2017 15:24
@ianpartridge ianpartridge restored the multihandle-warning branch August 1, 2017 22:20
@ianpartridge
Copy link
Contributor Author

Reopening now that swiftlang/swift-corelibs-libdispatch#289 is merged, which updates the Dispatch overlay on Linux to match Darwin.

@ianpartridge ianpartridge reopened this Aug 1, 2017
@ianpartridge
Copy link
Contributor Author

@swift-ci please test and merge

@swift-ci swift-ci merged commit e61b4c3 into swiftlang:master Aug 2, 2017
@ianpartridge ianpartridge deleted the multihandle-warning branch August 2, 2017 09:15
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

Successfully merging this pull request may close these issues.

3 participants