virtual resource foo_parent { virtual fn foo_func(domain source) {} } resource foo inherits foo_parent {} // Illegal non-inheritance