This is func1 main-foo::print s=func1 This is func2 sub-foo::print s=func2 -> func1 main-foo::print s=func2 -> func1 sub-foo::print s=func2 -> func2