Closed Gruppio closed 6 years ago
@Gruppio thanks, but this will be merged only when Swift 4.2 is released
Is there a way to compile this conditionally?
I assume this PR might be updated with
#if swift(<4.2)
extension ImplicitlyUnwrappedOptional: BoxType {
var unboxed: Any? {
return self ?? nil
}
}
#endif
I've add the check if swift is >= 4.1, so it is removed a warning in the current stable release ( 4.1 )
ImplicitlyUnwrappedOptional was already deprecated and it has been removed in swift 4.2 If you don't remove this extension Dip won't compile with Swift 4.2