Closed flobernd closed 3 weeks ago
Attach generic type parameters to the declaring type instead of the parent namespace.
This more precisely reflects the actual declaration hierarchy and allows type parameters to be uniquely identified by their FQNs.
The following definition:
export class A<T> { }
caused a type parameter with the FQN some.namespace.T to get emitted.
some.namespace.T
The same type parameter is now emitted as some.namespace.A.T instead.
some.namespace.A.T
Attach generic type parameters to the declaring type instead of the parent namespace.
This more precisely reflects the actual declaration hierarchy and allows type parameters to be uniquely identified by their FQNs.
The following definition:
caused a type parameter with the FQN
some.namespace.T
to get emitted.The same type parameter is now emitted as
some.namespace.A.T
instead.