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

error occur in swift 4 migration #28

Closed
jjjesuasir opened this issue Dec 20, 2017 · 0 comments
Closed

error occur in swift 4 migration #28

jjjesuasir opened this issue Dec 20, 2017 · 0 comments

Comments

@jjjesuasir
Copy link

public func upTo(limit: Int, callback: @escaping (Void) -> Void) {
(self...limit).forEach { _ in
callback(<#Void#>)
}
}public func downTo(limit: Int, callback: (Void) -> Void) {
var selfCopy = self
while selfCopy >= limit {
callback()
selfCopy -= 1
}
}
public func times(function: @escaping (Void) -> Void) {
self.times { (index: Int) -> Void in
function(<#Void#>)
}
}
error
Missing argument for parameter #1 in call
int.swift file
Pods/Cent/Sources/Int.swift:95:22: Editor placeholder in source file

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

1 participant