@@ -890,20 +890,18 @@ public protocol DistributedTargetInvocationDecoder {
890
890
/// - Throws: if decoding substitutions fails.
891
891
mutating func decodeGenericSubstitutions( ) throws -> [ Any . Type ]
892
892
893
- // /// Ad-hoc protocol requirement
894
- // ///
895
- // /// Attempt to decode the next argument from the underlying buffers into pre-allocated storage
896
- // /// pointed at by 'pointer'.
897
- // ///
898
- // /// This method should throw if it has no more arguments available, if decoding the argument failed,
899
- // /// or, optionally, if the argument type we're trying to decode does not match the stored type.
900
- // ///
901
- // /// The result of the decoding operation must be stored into the provided 'pointer' rather than
902
- // /// returning a value. This pattern allows the runtime to use a heavily optimized, pre-allocated
903
- // /// buffer for all the arguments and their expected types. The 'pointer' passed here is a pointer
904
- // /// to a "slot" in that pre-allocated buffer. That buffer will then be passed to a thunk that
905
- // /// performs the actual distributed (local) instance method invocation.
906
- // mutating func decodeNextArgument<Argument: SerializationRequirement>() throws -> Argument
893
+ /// Attempt to decode the next argument from the underlying buffers into pre-allocated storage
894
+ /// pointed at by 'pointer'.
895
+ ///
896
+ /// This method should throw if it has no more arguments available, if decoding the argument failed,
897
+ /// or, optionally, if the argument type we're trying to decode does not match the stored type.
898
+ ///
899
+ /// The result of the decoding operation must be stored into the provided 'pointer' rather than
900
+ /// returning a value. This pattern allows the runtime to use a heavily optimized, pre-allocated
901
+ /// buffer for all the arguments and their expected types. The 'pointer' passed here is a pointer
902
+ /// to a "slot" in that pre-allocated buffer. That buffer will then be passed to a thunk that
903
+ /// performs the actual distributed (local) instance method invocation.
904
+ mutating func decodeNextArgument< Argument/*: SerializationRequirement*/> ( ) throws -> Argument
907
905
908
906
/// Decode the specific error type that the distributed invocation target has recorded.
909
907
/// Currently this effectively can only ever be `Error.self`.
0 commit comments