zserio icon indicating copy to clipboard operation
zserio copied to clipboard

HTML: Used-by links for parents of subtemplates are not linking to instantiations

Open josephbirkner opened this issue 3 years ago • 2 comments

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:

subtemplate-used-by

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 (TestStructureSubdata32 in this case)

josephbirkner avatar Nov 16 '22 09:11 josephbirkner

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.

mikir avatar Nov 16 '22 10:11 mikir

Thanks @mikir

josephbirkner avatar Nov 16 '22 10:11 josephbirkner