In reply to zz8318:
You show two declarations of ‘my_func_class’ extending ‘my_base_class’. You also mention ‘my_important_class’ which you never show any code for.
It would be great if you can post a complete example on EDA Playground which completely demonstrates your issue.