@@ -889,7 +889,7 @@ Entities
889889 entity-spec ::= decl-name type 'i' // subscript ('i'ndex) itself (not the individual accessors)
890890 entity-spec ::= decl-name type 'v' // variable
891891 entity-spec ::= decl-name type 'f' ACCESSOR
892- entity-spec ::= decl-name type 'fp' // generic type parameter (not used?)
892+ entity-spec ::= decl-name type 'fp' // generic type parameter
893893 entity-spec ::= decl-name type 'fo' // enum element (currently not used)
894894
895895 ACCESSOR ::= 'm' // materializeForSet
@@ -958,14 +958,15 @@ Types
958958
959959::
960960
961- nominal-type ::= substitution
962- nominal-type ::= context decl-name 'C' // nominal class type
963- nominal-type ::= context decl-name 'O' // nominal enum type
964- nominal-type ::= context decl-name 'V' // nominal struct type
965- nominal-type ::= protocol 'P' // nominal protocol type
961+ any-generic-type ::= substitution
962+ any-generic-type ::= context decl-name 'C' // nominal class type
963+ any-generic-type ::= context decl-name 'O' // nominal enum type
964+ any-generic-type ::= context decl-name 'V' // nominal struct type
965+ any-generic-type ::= protocol 'P' // nominal protocol type
966+ any-generic-type ::= context decl-name 'a' // typealias type (used in DWARF and USRs)
966967
967- nominal -type ::= 'S' KNOWN-TYPE-KIND // known nominal type substitution
968- nominal -type ::= 'S' NATURAL KNOWN-TYPE-KIND // repeated known type substitutions of the same kind
968+ any-generic -type ::= 'S' KNOWN-TYPE-KIND // known nominal type substitution
969+ any-generic -type ::= 'S' NATURAL KNOWN-TYPE-KIND // repeated known type substitutions of the same kind
969970
970971 KNOWN-TYPE-KIND ::= 'a' // Swift.Array
971972 KNOWN-TYPE-KIND ::= 'b' // Swift.Bool
@@ -995,7 +996,6 @@ Types
995996 type ::= 'Bp' // Builtin.RawPointer
996997 type ::= type 'Bv' NATURAL '_' // Builtin.Vec<n>x<type>
997998 type ::= 'Bw' // Builtin.Word
998- type ::= context decl-name 'a' // Type alias (DWARF only)
999999 type ::= function-signature 'c' // function type
10001000 type ::= function-signature 'X' FUNCTION-KIND // special function type
10011001 type ::= bound-generic-type
@@ -1042,7 +1042,7 @@ Types
10421042
10431043 type ::= archetype
10441044 type ::= associated-type
1045- type ::= nominal -type
1045+ type ::= any-generic -type
10461046 type ::= protocol-list 'p' // existential type
10471047 type ::= protocol-list superclass 'Xc' // existential type with superclass
10481048 type ::= protocol-list 'Xl' // existential type with AnyObject
0 commit comments