rust and c++ backends: fixed multiple inheritance calling parent methods by class name in subclass.