You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes generated through typedefs are not interpreted as having an "inherits" key when calling taglist() inside of s:GetInheritanceTags which breaks it. This can be demonstrated by something along the lines of having this
class base_class; endclass
typedef base_class #(parameter) custom_class;
and evaluating
echom string(taglist('^custom_class$')[0])
after generating a tags file.
Notice the lack of "inherits", which is what s:GetInheritanceTags uses. The verbose messaging simply stop at Searching inheritance of <object>. It leads to failing to find any tags from the base classes.
This ties in with the other issues regarding typedefs. This is common in UVM, so it would be great if there was a solution. However, the taglist() output for typedefs seems rather unhelpful, so there might need to be a more robust typedef handling function.
Hope your family is doing well.
The text was updated successfully, but these errors were encountered:
I can see that the inheritance is not included in the tags file... I used to maintain that parser in Universal Ctags, but unfortunately I no longer have any free time to do that. Would you mind reporting this limitation there, in the hope that someone can look into this?
Classes generated through typedefs are not interpreted as having an "inherits" key when calling taglist() inside of s:GetInheritanceTags which breaks it. This can be demonstrated by something along the lines of having this
class base_class;
endclass
typedef base_class #(parameter) custom_class;
and evaluating
echom string(taglist('^custom_class$')[0])
after generating a tags file.
Notice the lack of "inherits", which is what s:GetInheritanceTags uses. The verbose messaging simply stop at
Searching inheritance of <object>
. It leads to failing to find any tags from the base classes.This ties in with the other issues regarding typedefs. This is common in UVM, so it would be great if there was a solution. However, the taglist() output for typedefs seems rather unhelpful, so there might need to be a more robust typedef handling function.
Hope your family is doing well.
The text was updated successfully, but these errors were encountered: