@@ -2773,6 +2773,8 @@ ERROR(inheritance_from_non_protocol_or_class,none,
27732773 " inheritance from non-protocol, non-class type %0" , (Type))
27742774ERROR(inheritance_from_non_protocol,none,
27752775 " inheritance from non-protocol type %0" , (Type))
2776+ ERROR(inheritance_from_parametrized_protocol,none,
2777+ " cannot inherit from parametrized protocol type %0" , (Type))
27762778ERROR(superclass_not_first,none,
27772779 " superclass %0 must appear first in the inheritance clause" , (Type))
27782780ERROR(superclass_not_open,none,
@@ -2790,6 +2792,8 @@ ERROR(inheritance_from_class_with_missing_vtable_entries,none,
27902792 " cannot inherit from class %0 because it has overridable members that "
27912793 " could not be loaded" ,
27922794 (Identifier))
2795+ NOTE(inheritance_from_class_with_missing_vtable_entry, none,
2796+ " could not deserialize %0" , (DeclName))
27932797ERROR(inheritance_from_class_with_missing_vtable_entries_versioned,none,
27942798 " cannot inherit from class %0 (compiled with Swift %1) because it has "
27952799 " overridable members that could not be loaded in Swift %2" ,
@@ -3712,6 +3716,12 @@ ERROR(not_a_generic_definition,none,
37123716 " cannot specialize a non-generic definition" , ())
37133717ERROR(not_a_generic_type,none,
37143718 " cannot specialize non-generic type %0" , (Type))
3719+ ERROR(parametrized_protocol_not_supported,none,
3720+ " protocol type with generic argument can only be used as a generic constraint" , ())
3721+ ERROR(protocol_does_not_have_primary_assoc_type,none,
3722+ " cannot specialize protocol type %0" , (Type))
3723+ ERROR(protocol_cannot_have_multiple_generic_arguments,none,
3724+ " protocol type %0 can only be specialized with exactly one argument" , (Type))
37153725ERROR(cannot_specialize_self,none,
37163726 " cannot specialize 'Self'" , ())
37173727NOTE(specialize_explicit_type_instead,none,
0 commit comments