Precedence is different for classes from the same package and from parent packages. #SCL-6866 Fixed