Invalid restriction for type '%1!s!'. The attribute wildcard in the restricted type must be a valid subset of the corresponding ...