Deprecate SetType, as it can be replaced by TableType

This commit is contained in:
Vern Paxson 2025-09-15 13:42:40 -07:00 committed by Tim Wojtulewicz
parent b25a844210
commit b442c25389
13 changed files with 33 additions and 84 deletions

View file

@ -214,7 +214,10 @@ public:
const TableType* AsTableType() const;
TableType* AsTableType();
[[deprecated("Remove in v9.1. Use AsTableType() instead.")]]
const SetType* AsSetType() const;
[[deprecated("Remove in v9.1. Use AsTableType() instead.")]]
SetType* AsSetType();
const RecordType* AsRecordType() const;
@ -438,7 +441,7 @@ private:
bool reported_error = false;
};
class SetType final : public TableType {
class [[deprecated("Remove in v9.1. Use TableType instead.")]] SetType final : public TableType {
public:
SetType(TypeListPtr ind, detail::ListExprPtr arg_elements);
~SetType() override;