apple / swift-nio-transport-services

Extensions for SwiftNIO to support Apple platforms as first-class citizens.
https://swiftpackageindex.com/apple/swift-nio-transport-services/main/documentation/niotransportservices
Apache License 2.0
282 stars 71 forks source link

Fix 5.6 compiler error #182

Closed FranzBusch closed 1 year ago

FranzBusch commented 1 year ago

Motivation

After my recent PR we failed to compile on 5.6 since the compiler isn't capable to infer the return type of one of the closures.

Modification

This PR adds the closure's return type explicitly.

Result

Compiling on 5.6 again