Modifying Type::isOneOfParents() in src/type.cpp