summaryrefslogtreecommitdiff
path: root/src/ast/pattern.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/pattern.hpp')
-rw-r--r--src/ast/pattern.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast/pattern.hpp b/src/ast/pattern.hpp
index 299a26a6..6b89aa35 100644
--- a/src/ast/pattern.hpp
+++ b/src/ast/pattern.hpp
@@ -5,7 +5,7 @@
#include <vector>
#include <memory>
#include <string>
-#include <tagged_enum.hpp>
+#include <tagged_union.hpp>
namespace AST {
@@ -18,7 +18,7 @@ class Pattern:
public Serialisable
{
public:
- TAGGED_ENUM(Data, Any,
+ TAGGED_UNION(Data, Any,
(Any, () ),
(MaybeBind, () ),
(Ref, (bool mut; unique_ptr<Pattern> sub;) ),