diff --git a/EqSat/include/Luau/Language.h b/EqSat/include/Luau/Language.h index c2ca7ac5..73dd089a 100644 --- a/EqSat/include/Luau/Language.h +++ b/EqSat/include/Luau/Language.h @@ -46,7 +46,7 @@ namespace Luau::EqSat return !(*this == rhs); \ } -template +template struct Atom { T value; @@ -67,28 +67,12 @@ struct FieldBase { }; -template +template struct Field : FieldBase { - Id id; - - Field(Id id) - : id(id) - { - } - - DERIVE_EQ(Field, id); - - struct Hash - { - size_t operator()(const Field& field) const - { - return std::hash{}(field.id); - } - }; }; -template +template class Node { static_assert(std::conjunction...>::value);