@@ -2859,8 +2859,7 @@ ERROR(implements_attr_protocol_not_conformed_to,none,
2859
2859
ERROR(differentiable_attr_void_result,none,
2860
2860
" cannot differentiate void function %0" , (DeclName))
2861
2861
ERROR(differentiable_attr_associated_function_protocol,none,
2862
- " cannot specify associated differentiation function on protocol "
2863
- " requirement" , ())
2862
+ " cannot specify derivative functions on protocol requirements" , ())
2864
2863
ERROR(differentiable_attr_overload_not_found,none,
2865
2864
" %0 does not have expected type %1" , (DeclName, Type))
2866
2865
ERROR(differentiable_attr_no_currying,none,
@@ -2874,17 +2873,17 @@ NOTE(differentiable_attr_duplicate_note,none,
2874
2873
ERROR(differentiable_attr_function_not_same_type_context,none,
2875
2874
" %0 is not defined in the current type context" , (DeclName))
2876
2875
ERROR(differentiable_attr_specified_not_function,none,
2877
- " %0 is not a function to be used as associated differentiation function" ,
2876
+ " %0 is not a function to be used as derivative function" ,
2878
2877
(DeclName))
2879
2878
ERROR(differentiable_attr_class_derivative_not_final,none,
2880
2879
" class member derivative must be final" , ())
2881
2880
ERROR(differentiable_attr_ambiguous_function_identifier,none,
2882
2881
" ambiguous or overloaded identifier %0 cannot be used in '@differentiable' "
2883
2882
" attribute" , (DeclName))
2884
2883
ERROR(differentiable_attr_invalid_access,none,
2885
- " associated differentiation function %0 is required to either be public "
2886
- " or @usableFromInline because the original function %1 is public or "
2887
- " @usableFromInline" , (DeclName, DeclName))
2884
+ " deriavtive function %0 is required to either be public or "
2885
+ " ' @usableFromInline' because the original function %1 is public or "
2886
+ " ' @usableFromInline' " , (DeclName, DeclName))
2888
2887
ERROR(differentiable_attr_result_not_differentiable,none,
2889
2888
" can only differentiate functions with results that conform to "
2890
2889
" 'Differentiable', but %0 does not conform to 'Differentiable'" , (Type))
0 commit comments