How to use constraint_mode to control one constraint in an override ovm_object

You can’t access any identifiers declared in an extended class from a base class variable. If E_test knows it will be accessing c_B from class B, it needs to do $cast(B_h, A_h) and then do B_h.c_B.constraint_mode(0);