zserio
zserio copied to clipboard
HTML: Used-by links for parents of subtemplates are not linking to instantiations
Consider the following code:
package sample;
struct FieldType {
int32 x;
};
struct Subdata<T> {
T field;
};
struct Data<T>
{
Subdata<T> field;
};
instantiate Subdata<FieldType> TestStructureSubdata32;
instantiate Data<FieldType> TestStructureInt32;
The Used By section of Subdata looks as follows:

Rather than showing Data<FieldType> as a dependency I would expect one of these two:
- Link only to
Data<>(not to every instantiation of it) - When linking to an instantiation, rather link to its name (
TestStructureSubdata32in this case)
Thanks for pointing this out. It seems that this is connected to issue #262.
We will investigate if there is some possibility to change it easily. If yes, we will try to do it in this milestone.
Thanks @mikir