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

Emits warnings on Swift 04-25 #23

Closed
czechboy0 opened this issue Apr 28, 2016 · 0 comments
Closed

Emits warnings on Swift 04-25 #23

czechboy0 opened this issue Apr 28, 2016 · 0 comments

Comments

@czechboy0
Copy link
Contributor

/Users/honzadvorsky/Documents/vapor/Packages/C7-0.5.0/Sources/Data.swift:193:44: warning: @noescape is now an attribute on a parameter type, instead of on the parameter itself
    public func withUnsafeBufferPointer<R>(@noescape body: (UnsafeBufferPointer<Byte>) throws -> R) rethrows -> R {
                                           ^~~~~~~~~
                                                           @noescape
/Users/honzadvorsky/Documents/vapor/Packages/C7-0.5.0/Sources/Data.swift:193:44: warning: @noescape is now an attribute on a parameter type, instead of on the parameter itself
    public func withUnsafeBufferPointer<R>(@noescape body: (UnsafeBufferPointer<Byte>) throws -> R) rethrows -> R {
                                           ^~~~~~~~~
                                                           @noescape
/Users/honzadvorsky/Documents/vapor/Packages/C7-0.5.0/Sources/Data.swift:193:44: warning: @noescape is now an attribute on a parameter type, instead of on the parameter itself
    public func withUnsafeBufferPointer<R>(@noescape body: (UnsafeBufferPointer<Byte>) throws -> R) rethrows -> R {
                                           ^~~~~~~~~
                                                           @noescape
/Users/honzadvorsky/Documents/vapor/Packages/C7-0.5.0/Sources/Data.swift:197:60: warning: @noescape is now an attribute on a parameter type, instead of on the parameter itself
    public mutating func withUnsafeMutableBufferPointer<R>(@noescape body: (inout UnsafeMutableBufferPointer<Byte>) throws -> R) rethrows -> R {
                                                           ^~~~~~~~~
                                                                           @noescape
/Users/honzadvorsky/Documents/vapor/Packages/C7-0.5.0/Sources/Data.swift:197:60: warning: @noescape is now an attribute on a parameter type, instead of on the parameter itself
    public mutating func withUnsafeMutableBufferPointer<R>(@noescape body: (inout UnsafeMutableBufferPointer<Byte>) throws -> R) rethrows -> R {
                                                           ^~~~~~~~~
                                                                           @noescape
/Users/honzadvorsky/Documents/vapor/Packages/C7-0.5.0/Sources/Data.swift:197:60: warning: @noescape is now an attribute on a parameter type, instead of on the parameter itself
    public mutating func withUnsafeMutableBufferPointer<R>(@noescape body: (inout UnsafeMutableBufferPointer<Byte>) throws -> R) rethrows -> R {
                                                           ^~~~~~~~~
                                                                           @noescape

Compilation still finishes, but it'd be nice to have a 04-25 clean version 😊

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