Bläddra i källkod

Enable ExistentialAny for v2 (#1967)

Motivation:

The use of existentials can be made more obvious by enabling
the upcoming 'ExistentialAny' feature.

Modifications:

Enable 'ExistentialAny' and fix warnings.

Result:

Use of existentials is more obvious
George Barnett 1 år sedan
förälder
incheckning
1640fa3d02
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Tests/GRPCProtobufTests/ProtobufCodingTests.swift

+ 1 - 1
Tests/GRPCProtobufTests/ProtobufCodingTests.swift

@@ -92,7 +92,7 @@ struct TestMessage: SwiftProtobuf.Message {
     return true
   }
 
-  func isEqualTo(message: SwiftProtobuf.Message) -> Bool {
+  func isEqualTo(message: any SwiftProtobuf.Message) -> Bool {
     return false
   }
 }